SQLAlchemy 0.3 Documentation
Version: 0.3.5 Last Updated: 03/18/07 18:39:07
- Module Functions
- class PG1Date(Date)
- class PG1DateTime(DateTime)
- class PG1Time(Time)
- class PG2Date(Date)
- class PG2DateTime(DateTime)
- class PG2Time(Time)
- class PGBigInteger(PGInteger)
- class PGBinary(Binary)
- class PGBoolean(Boolean)
- class PGChar(CHAR)
- class PGCompiler(ANSICompiler)
- class PGDefaultRunner(ANSIDefaultRunner)
- class PGDialect(ANSIDialect)
- class PGDialect(ANSIDialect)
- class PGExecutionContext(DefaultExecutionContext)
- class PGFloat(Float)
- class PGIdentifierPreparer(ANSIIdentifierPreparer)
- class PGInet(TypeEngine)
- class PGInteger(Integer)
- class PGInterval(TypeEngine)
- class PGNumeric(Numeric)
- class PGSchemaDropper(ANSISchemaDropper)
- class PGSchemaGenerator(ANSISchemaGenerator)
- class PGSmallInteger(SmallInteger)
- class PGString(String)
- class PGText(TEXT)
module sqlalchemy.databases.postgres
class PG1Date(Date)
back to section topclass PG1DateTime(DateTime)
back to section topclass PG1Time(Time)
back to section topclass PGCompiler(ANSICompiler)
def visit_insert_sequence(self, column, sequence, parameters)
back to section top
this is the 'sequence' equivalent to ANSICompiler's 'visit_insert_column_default' which ensures that the column is present in the generated column list
class PGDefaultRunner(ANSIDefaultRunner)
back to section topclass PGDialect(ANSIDialect)
def __init__(self, module=None, use_oids=False, use_information_schema=False, server_side_cursors=False, **params)
def do_executemany(self, c, statement, parameters, context=None)
back to section top
We need accurate rowcounts for updates, inserts and deletes.
psycopg2 is not nice enough to produce this correctly for an executemany, so we do our own executemany here.
class PGDialect(ANSIDialect)
def __init__(self, module=None, use_oids=False, use_information_schema=False, server_side_cursors=False, **params)
def do_executemany(self, c, statement, parameters, context=None)
back to section top
We need accurate rowcounts for updates, inserts and deletes.
psycopg2 is not nice enough to produce this correctly for an executemany, so we do our own executemany here.
class PGExecutionContext(DefaultExecutionContext)
back to section topclass PGIdentifierPreparer(ANSIIdentifierPreparer)
back to section topclass PGSchemaGenerator(ANSISchemaGenerator)
back to section topclass PGText(TEXT)
Up: Generated Documentation
|
Previous: module sqlalchemy.databases.sqlite
|
Next: module sqlalchemy.databases.mysql