reference: SqlIdOpt

git-svn-id: svn://ultimatepp.org/upp/trunk@7252 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-04-14 13:00:01 +00:00
parent c64db5b4b1
commit 3eb11e246a
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#include <Sql/Sql.h>
using namespace Upp;
SQLID(COLUMN)
SQLID(TABLE)
CONSOLE_APP_MAIN
{
StdLogSetup(LOG_COUT|LOG_FILE);
SqlStatement s = Select(COLUMN).From(TABLE);
LOG(s.Get(PGSQL));
SqlId::UseQuotes();
LOG(s.Get(PGSQL));
SqlId::ToLowerCase();
LOG(s.Get(PGSQL));
}

View file

@ -0,0 +1,12 @@
description "Demonstrates SqlId::UseQuotes, SqlId::ToLowerCase\377";
uses
Core,
Sql;
file
SqlIdOpt.cpp;
mainconfig
"" = "SSE2";

5
reference/SqlIdOpt/init Normal file
View file

@ -0,0 +1,5 @@
#ifndef _SqlIdOpt_icpp_init_stub
#define _SqlIdOpt_icpp_init_stub
#include "Core/init"
#include "Sql/init"
#endif