gda.sql_parser

Module for [SqlParser] class

Types 4

Methods
GType _gType() @property
SqlParser self()Returns `this`, for use in `with` statements.
SqlParserGidBuilder builder()Get builder for [gda.sql_parser.SqlParser] Returns: New builder object
int columnError() @property
int lineError() @property
int mode() @property
void mode(int propval) @property
int tokenizerFlavour() @property
void tokenizerFlavour(int propval) @property
gda.batch.Batch parseFileAsBatch(string filename)Parse filename's contents and creates a #GdaBatch object which contains all the #GdaStatement objects created while parsing (one object per SQL statement).
gda.statement.Statement parseString(string sql, out string remain)Parses sql and creates a #GdaStatement statement from the first SQL statement contained in sql: if sql contains more than one statement, then the remaining part of the string is not parsed at all, ...
gda.batch.Batch parseStringAsBatch(string sql, out string remain)Parse sql and creates a #GdaBatch object which contains all the #GdaStatement objects created while parsing (one object per SQL statement). Empty statements (composed of spaces only) do not appear ...
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GdaSqlParser object Returns: the new object

Fluent builder for [gda.sql_parser.SqlParser]

Methods
Constructors
this(GError * err)
this(Code code, string msg)