Home » U++ Library support » U++ SQL » Some questions around SQlite3
Re: Some questions around SQlite3 [message #28432 is a reply to message #28430] |
Wed, 01 September 2010 21:13   |
zsolt
Messages: 702 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
1. SQL is a macro, same as calling AppCursor() function. The relevant code:
#ifndef NOAPPSQL
struct AppSql : Sql {
void operator=(SqlSource& s) { Assign(s); }
void Detach() { Sql::Detach(); }
AppSql() : Sql(NULLSQL) {}
};
AppSql& AppCursor();
#define SQL AppCursor()
#endif
1.2 Use SqlBinary(foo)
2. You can use the field name in the first while loop. Fetching after the last record fetched returns false. Your second while loop will not run.
[Updated on: Wed, 01 September 2010 21:14] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Jul 04 04:27:13 CEST 2025
Total time taken to generate the page: 0.03097 seconds
|