mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
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:
parent
d8a3a386c5
commit
bfd90eda9f
2 changed files with 6 additions and 0 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue