GObject.Object
Gda.SqlParser
Import line: | Gda = imports.gi.Gda; |
GIR File: | Gda-4.0.gir |
C documentation: | GdaSqlParser |
Class : | SqlParser |
Implements: | Gda.Lockable |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
column_error : Number
read only
|
Gda.SqlParser | |
debug : Boolean
|
Gda.SqlParser | |
line_error : Number
read only
|
Gda.SqlParser | |
mode : Number
|
Gda.SqlParser | |
object : GObject.Object
read only
|
Gda.SqlParser | |
priv : Gda.SqlParserPrivate
read only
|
Gda.SqlParser | |
tokenizer_flavour : Number
|
Gda.SqlParser |
Method / Constructor | Defined By | |
---|---|---|
new Gda.SqlParser
(Object properties)
Create a new Gda.SqlParser
Create a new Gda.SqlParser
|
||
lock
()
:
none
|
Gda.Lockable | |
Parse filename's contents and creates a GdaBatch object which contains all the GdaStatement objects created while parsing (one object per SQL statement).
Parse filename's contents and creates a GdaBatch object which contains all the GdaStatement objects created while parsing (one object per SQL statement). at some point, then the parsing stops, error may be set and NULL is returned if sql is NULL, then the returned GdaBatch object will contain no statement.
|
Gda.SqlParser | |
contains more than one statement, then the remaining part of the string is not parsed at all, and remain (if not NULL) will point at the first non parsed character.
contains more than one statement, then the remaining part of the string is not parsed at all, and remain (if not NULL) will point at the first non parsed character. To include variables in the sql string, see the GdaSqlParser's object description.
|
Gda.SqlParser | |
Parse sql and creates a GdaBatch object which contains all the GdaStatement objects created while parsing (one object per SQL statement).
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 in the resulting object. at some point, then the parsing stops and remain may contain a non NULL pointer, error may be set, and NULL is returned. if sql is NULL, then the returned GdaBatch object will contain no statement. To include variables in the sql string, see the GdaSqlParser's object description.
|
Gda.SqlParser | |
set_overflow_error
()
:
none
|
Gda.SqlParser | |
set_syntax_error
()
:
none
|
Gda.SqlParser | |
trylock
()
:
Boolean
|
Gda.Lockable | |
unlock
()
:
none
|
Gda.Lockable |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gda.Connection
Method |
create_parser
()
:
Gda.SqlParser
Creates a new parser object able to parse the SQL dialect understood by cnc.
|
Gda.ServerProvider
Method |
create_parser
(Connection cnc)
:
Gda.SqlParser
|
Gda.ServerProvider
Method |
internal_get_parser
()
:
Gda.SqlParser
|