Sql: SqlCompile variant using default dialect

git-svn-id: svn://ultimatepp.org/upp/trunk@7341 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-30 10:07:28 +00:00
parent d8a3a386c5
commit bfd90eda9f
2 changed files with 6 additions and 0 deletions

View file

@ -308,6 +308,11 @@ String SqlCompile(byte dialect, const String& s)
return b;
}
String SqlCompile(const String& s)
{
return SqlCompile(SQL.GetDialect(), s);
}
String SqlFormat(int x)
{
if(IsNull(x)) return "NULL";

View file

@ -89,6 +89,7 @@ public:
};
String SqlCompile(byte dialect, const String& s);
String SqlCompile(const String& s);
String SqlFormat(int x);
String SqlFormat(double x);