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

Class TeradataAdapter

source code

    object --+            
             |            
ConnectionPool --+        
                 |        
       BaseAdapter --+    
                     |    
            DB2Adapter --+
                         |
                        TeradataAdapter

Instance Methods [hide private]
 
__init__(self, db, uri, pool_size=0, folder=1, db_codec='UTF-8', credential_decoder=<function <lambda> at 0xd6db90>, driver_args={}, adapter_args={})
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from DB2Adapter: LEFT_JOIN, RANDOM, execute, lastrowid, represent_exceptions, rowslice, select_limitby

Inherited from BaseAdapter: ADD, AGGREGATE, ALLOW_NULL, AND, AS, BELONGS, COALESCE_ZERO, COMMA, CONTAINS, DIV, ENDSWITH, EQ, EXTRACT, GE, GT, INVERT, JOIN, LE, LIKE, LOWER, LT, MOD, MUL, NE, NOT, NOT_NULL, ON, OR, PRIMARY_KEY, STARTSWITH, SUB, SUBSTRING, UPPER, alias, bulk_insert, close, commit, commit_prepared, concat_add, constraint_name, count, create_sequence_and_triggers, create_table, delete, distributed_transaction_begin, drop, 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, rollback, rollback_prepared, select, sequence_name, tables, trigger_name, truncate, update

Inherited from BaseAdapter (private): _count, _delete, _drop, _insert, _select, _truncate, _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.
  types = {'boolean': 'CHAR(1)', 'string': 'VARCHAR(%(length)s)'...

Inherited from BaseAdapter: commit_on_alter_table, maxcharlength, support_distributed_transaction, uploads_in_blob

Inherited from ConnectionPool: pools

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

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

Class Variable Details [hide private]

types

Value:
{'boolean': 'CHAR(1)', 'string': 'VARCHAR(%(length)s)', 'text': 'CLOB'\
, 'password': 'VARCHAR(%(length)s)', 'blob': 'BLOB', 'upload': 'VARCHA\
R(%(length)s)', 'integer': 'INT', 'double': 'DOUBLE', 'decimal': 'NUME\
RIC(%(precision)s,%(scale)s)', 'date': 'DATE', 'time': 'TIME', 'dateti\
me': 'TIMESTAMP', 'id': 'INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY \
KEY NOT NULL', 'reference': 'INT, FOREIGN KEY (%(field_name)s) REFEREN\
CES %(foreign_key)s ON DELETE %(on_delete_action)s', 'reference FK': '\
, CONSTRAINT FK_%(constraint_name)s FOREIGN KEY (%(field_name)s) REFER\
...