Defines ANSI SQL operations.
Contains default implementations for the abstract objects in the sql module.
Default implementation of Compiled.
Compiles ClauseElements into ANSI-compliant SQL strings.
Construct a new ANSICompiler object.
Return a structure of bind parameters for this compiled object.
This includes bind parameters that might be compiled in via the values argument of an Insert or Update statement object, and also the given **params. The keys inside of **params can be any key that matches the BindParameterClause objects compiled within this object.
The output is dependent on the paramstyle of the DBAPI being used; if a named style, the return result will be a dictionary with keynames matching the compiled statement. If a positional style, the output will be a list, with an iterator that will return parameter values in an order corresponding to the bind positions in the compiled statement.
For an executemany style of call, this method should be called for each element in the list of parameter groups that will ultimately be executed.
Called when a SELECT statement has no froms, and no FROM clause is to be appended.
Gives Oracle a chance to tack on a FROM DUAL to the string output.
Called when visiting an Insert statement.
This may be overridden by compilers who disallow NULL columns being set in an Insert where there is a default value on the column (i.e. postgres), to remove the column for which there is a NULL insert from the parameter list.
Called when visiting an Insert statement.
For each column in the table that contains a ColumnDefault object, add a blank placeholder parameter so the Insert gets compiled with this column's name in its column and VALUES clauses.
Called when visiting an Insert statement.
This may be overridden compilers that support sequences to place a blank placeholder parameter for each column in the table that contains a Sequence object, so the Insert gets compiled with this column's name in its column and VALUES clauses.
Called when building a SELECT statement, position is after all other SELECT clauses.
Most DB syntaxes put LIMIT/OFFSET here.
Called when building a SELECT statement, position is just before column list.
Called when visiting an Update statement.
For each column in the table that contains a ColumnDefault object as an onupdate, add a blank placeholder parameter so the Update gets compiled with this column's name as one of its SET clauses.
Return an IdentifierPreparer.
This object is used to format table and column names including proper quoting and case conventions.
Handle quoting and case-folding of identifiers based on options.
Construct a new ANSIIdentifierPreparer object.
Prepare a quoted column name with table name.
Quote an identifier.
Subclasses should override this to provide database-dependent quoting behavior.
Construct a new ANSISchemaDropper.
Construct a new ANSISchemaGenerator.