Fix bug when using 'is null' substatement in ORM (#250)

This commit is contained in:
An Tao 2019-09-22 21:16:53 +08:00 committed by GitHub
parent 543d1a8c80
commit db18f565e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -153,6 +153,15 @@ class Criteria
break;
}
}
Criteria(const std::string &colName, CompareOperator &opera)
: Criteria(colName, (const CompareOperator &)opera)
{
}
Criteria(const std::string &colName, CompareOperator &&opera)
: Criteria(colName, (const CompareOperator &)opera)
{
}
Criteria()
{
}