in/not in

This commit is contained in:
28810
2018-12-29 11:53:39 +08:00
parent 43080a4052
commit 96a944c534
13 changed files with 588 additions and 225 deletions

View File

@ -671,5 +671,13 @@ namespace FreeSql.Tests.PostgreSQLExpression {
//FROM `tb_topic` a, `TestTypeInfo` a__Type
//WHERE (strcmp(concat(a.`Title`, 'aaa'), a__Type.`Name`) = 0)
}
[Fact]
public void string_IsNullOrEmpty() {
var data = new List<object>();
data.Add(select.Where(a => string.IsNullOrEmpty(a.Title)).ToList());
data.Add(select.Where(a => string.IsNullOrEmpty(a.Title) == false).ToList());
data.Add(select.Where(a => !string.IsNullOrEmpty(a.Title)).ToList());
}
}
}