Package web2py :: Package gluon :: Module dal :: Class FireBirdAdapter
[hide private]
[frames] | no frames]

Class FireBirdAdapter

source code

    object --+        
             |        
ConnectionPool --+    
                 |    
       BaseAdapter --+
                     |
                    FireBirdAdapter
Known Subclasses:
FireBirdEmbeddedAdapter

Instance Methods [hide private]
 
sequence_name(self, tablename) source code
 
trigger_name(self, tablename) source code
 
RANDOM(self) source code
 
NOT_NULL(self, default, field_type) source code
 
SUBSTRING(self, field, parameters) source code
 
_drop(self, table, mode) source code
 
select_limitby(self, sql_s, sql_f, sql_t, sql_w, sql_o, limitby) source code
 
_truncate(self, table, mode='') source code
 
__init__(self, db, uri, pool_size=0, folder=1, db_codec='UTF-8', credential_decoder=<function <lambda> at 0xd6d050>, driver_args={}, adapter_args={})
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
create_sequence_and_triggers(self, query, table, **args) source code
 
lastrowid(self, table) source code

Inherited from BaseAdapter: ADD, AGGREGATE, ALLOW_NULL, AND, AS, BELONGS, COALESCE_ZERO, COMMA, CONTAINS, DIV, ENDSWITH, EQ, EXTRACT, GE, GT, INVERT, JOIN, LE, LEFT_JOIN, LIKE, LOWER, LT, MOD, MUL, NE, NOT, ON, OR, PRIMARY_KEY, STARTSWITH, SUB, UPPER, alias, bulk_insert, close, commit, commit_prepared, concat_add, constraint_name, count, create_table, delete, distributed_transaction_begin, drop, execute, expand, file_close, file_delete, file_exists, file_open, filter_tenant, get_table, insert, integrity_error, integrity_error_class, log_execute, migrate_table, parse, prepare, represent, represent_exceptions, rollback, rollback_prepared, rowslice, select, tables, truncate, update

Inherited from BaseAdapter (private): _count, _delete, _insert, _select, _update

Inherited from ConnectionPool: find_or_make_work_folder, pool_connection

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Static Methods [hide private]

Inherited from ConnectionPool: close_all_instances, set_folder

Class Variables [hide private]
  driver = globals().get('pyodbc', None)
PyMySQL: A pure-Python drop-in replacement for MySQLdb.
  commit_on_alter_table = True
  support_distributed_transaction = True
  types = {'blob': 'BLOB SUB_TYPE 0', 'boolean': 'CHAR(1)', 'dat...

Inherited from BaseAdapter: maxcharlength, uploads_in_blob

Inherited from ConnectionPool: pools

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

sequence_name(self, tablename)

source code 
Overrides: BaseAdapter.sequence_name

trigger_name(self, tablename)

source code 
Overrides: BaseAdapter.trigger_name

RANDOM(self)

source code 
Overrides: BaseAdapter.RANDOM

NOT_NULL(self, default, field_type)

source code 
Overrides: BaseAdapter.NOT_NULL

SUBSTRING(self, field, parameters)

source code 
Overrides: BaseAdapter.SUBSTRING

_drop(self, table, mode)

source code 
Overrides: BaseAdapter._drop

select_limitby(self, sql_s, sql_f, sql_t, sql_w, sql_o, limitby)

source code 
Overrides: BaseAdapter.select_limitby

_truncate(self, table, mode='')

source code 
Overrides: BaseAdapter._truncate

__init__(self, db, uri, pool_size=0, folder=1, db_codec='UTF-8', credential_decoder=<function <lambda> at 0xd6d050>, driver_args={}, adapter_args={})
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: BaseAdapter.__init__

create_sequence_and_triggers(self, query, table, **args)

source code 
Overrides: BaseAdapter.create_sequence_and_triggers

lastrowid(self, table)

source code 
Overrides: BaseAdapter.lastrowid

Class Variable Details [hide private]

types

Value:
{'blob': 'BLOB SUB_TYPE 0',
 'boolean': 'CHAR(1)',
 'date': 'DATE',
 'datetime': 'TIMESTAMP',
 'decimal': 'DECIMAL(%(precision)s,%(scale)s)',
 'double': 'DOUBLE PRECISION',
 'id': 'INTEGER PRIMARY KEY',
 'integer': 'INTEGER',
...