|
KanoopDatabaseQt 1.1.1
Qt database abstraction library
|
|
Parses a multi-statement SQL string into individual SQL statements. More...
#include <sqlparser.h>
Public Member Functions | |
| SqlParser (const QString &sql) | |
| Construct a parser and parse the given SQL string into individual statements. | |
| QStringList | statements () const |
| Get the list of parsed SQL statements. | |
| bool | isValid () const |
| Return true if parsing completed successfully. | |
Parses a multi-statement SQL string into individual SQL statements.
Definition at line 6 of file sqlparser.h.
| SqlParser::SqlParser | ( | const QString & | sql | ) |
Construct a parser and parse the given SQL string into individual statements.
| sql | The SQL string potentially containing multiple semicolon-delimited statements. |
|
inline |
Return true if parsing completed successfully.
Definition at line 22 of file sqlparser.h.
|
inline |
Get the list of parsed SQL statements.
Definition at line 17 of file sqlparser.h.