sqlobject.sybase.sybaseconnection module¶
-
class
sqlobject.sybase.sybaseconnection.
SybaseConnection
(db, user, password='', host='localhost', port=None, locking=1, **kw)[source]¶ Bases:
sqlobject.dbconnection.DBAPI
-
HAS_IDENTITY
= "\n SELECT col.name, col.status, obj.name\n FROM syscolumns col\n JOIN sysobjects obj\n ON obj.id = col.id\n WHERE obj.name = '%s'\n AND (col.status & 0x80) = 0x80\n "¶
-
NumericType
= None¶
-
SHOW_COLUMNS
= "SELECT COLUMN_NAME, DATA_TYPE, IS_NULLABLE, COLUMN_DEFAULT FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '%s'"¶
-
SHOW_TABLES
= "SELECT name FROM sysobjects WHERE type='U'"¶
-
dbName
= 'sybase'¶
-
schemes
= ['sybase']¶
-
supportTransactions
= False¶
-