|
|
| version 1.38, 2004/02/11 15:33:14 | version 1.40, 2005/08/09 08:14:50 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: sql fconnection decl. | Parser: sql fconnection decl. |
| Copyright (c) 2001-2004 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| Line 138 public: | Line 138 public: |
| } | } |
| void query( | void query( |
| const char* statement, unsigned long offset, unsigned long limit, | const char* statement, |
| size_t placeholders_count, SQL_Driver::Placeholder* placeholders, | |
| unsigned long offset, unsigned long limit, | |
| SQL_Driver_query_event_handlers& handlers, | SQL_Driver_query_event_handlers& handlers, |
| const String& source) { | const String& source) { |
| try { | try { |
| SQL_CONNECTION_SERVICED_FUNC_GUARDED( | SQL_CONNECTION_SERVICED_FUNC_GUARDED( |
| fdriver.query(fconnection, | fdriver.query(fconnection, |
| statement, offset, limit, | statement, |
| placeholders_count, placeholders, | |
| offset, limit, | |
| handlers) | handlers) |
| ); | ); |
| } catch(const Exception& e) { // query problem | } catch(const Exception& e) { // query problem |