|
|
| version 1.2, 2001/04/05 11:01:58 | version 1.4, 2001/04/05 13:19:44 |
|---|---|
| Line 68 public: | Line 68 public: |
| virtual void disconnect(void *connection) =0; | virtual void disconnect(void *connection) =0; |
| virtual void commit(void *connection) =0; | virtual void commit(void *connection) =0; |
| virtual void rollback(void *connection) =0; | virtual void rollback(void *connection) =0; |
| /// @returns true to indicate that connection still alive | |
| virtual bool ping(void *connection) =0; | |
| /// encodes the string in 'from' to an escaped SQL string | |
| virtual unsigned int quote(void *connection, | |
| char *to, const char *from, unsigned int length) =0; | |
| virtual void query(void *connection, | virtual void query(void *connection, |
| const char *statement, | const char *statement, unsigned long offset, unsigned long limit, |
| unsigned int *column_count, Cell **columns, | unsigned int *column_count, Cell **columns, |
| unsigned long *row_count, Cell ***rows) =0; | unsigned long *row_count, Cell ***rows) =0; |
| /// log error message | /// log error message |