gda.connection_event
Module for [ConnectionEvent] class
Types 3
Methods
ConnectionEvent self()Returns `this`, for use in `with` statements.ConnectionEventGidBuilder builder()Get builder for [gda.connection_event.ConnectionEvent] Returns: New builder objectint type() @propertyvoid type(int propval) @propertyglong getCode()string getDescription()Get the description of the event. Note that is event's type is GDACONNECTIONEVENT_COMMAND, the the description is the SQL of the command. Returns: event's description.gda.types.ConnectionEventType getEventType()Get event's severity (from a simple notice to a fatal event) Returns: the event typegda.types.ConnectionEventCode getGdaCode()Retrieve the code associated to event. Returns: the #GdaConnectionEventCode event's codestring getSource()string getSqlstate()Get the SQLSTATE value of event. Even though the SQLSTATE values are specified by ANSI SQL and ODBC, consult each DBMS for the possible values. However, the "00000" (success) value means that there...void setCode(glong code)Sets event's code: the code is specific to the provider being used. If you want to have a common understanding of the event codes, use [gda.connection_event.ConnectionEvent.getGdaCode] instead.void setDescription(string description = null)Sets event's description. This function should not be called directly.void setEventType(gda.types.ConnectionEventType type)Sets event's severity (from a simple notice to a fatal event) This function should not be called directly.void setGdaCode(gda.types.ConnectionEventCode code)Sets event's gda code: that code is standardized by the libgda library. If you want to specify the corresponding provider specific code, use [gda.connectionevent.ConnectionEvent.getCode] or [gda.co...void setSource(string source)Sets event's source; this function should not be called directlyvoid setSqlstate(string sqlstate)Changes the SQLSTATE code of event, this function should not be called directlyMethods
T type(int propval)Fluent builder for [gda.connection_event.ConnectionEvent]
Methods