Package web2py :: Package gluon :: Module dal :: Class GoogleSQLAdapter

[hide private]
[frames] | no frames]

# Class GoogleSQLAdapter

source code

     UseDatabaseStoredFile --+
                             |
        object --+           |
                 |           |
    ConnectionPool --+       |
                     |       |
           BaseAdapter --+   |
                         |   |
              MySQLAdapter --+
                             |
                            GoogleSQLAdapter

Instance Methods | [hide private]

__init__(self, db, uri=`'``google:sql://realm:domain/database``'`, pool_size=0, folder=global_settings.applications_parent, db_codec=`'``UTF-8``'`, credential_decoder=<function <lambda> at 0xfc41b8>, driver_args=`{``}`, adapter_args=`{``}`) | source code

Inherited from `UseDatabaseStoredFile`: `file_close`, `file_delete`, `file_exists`, `file_open`

Inherited from `MySQLAdapter`: `RANDOM`, `SUBSTRING`, `commit_prepared`, `concat_add`, `distributed_transaction_begin`, `lastrowid`, `prepare`, `rollback_prepared`

Inherited from `MySQLAdapter` (private): `_drop`

Inherited from `BaseAdapter`: `ADD`, `AGGREGATE`, `ALLOW_NULL`, `AND`, `AS`, `BELONGS`, `COALESCE`, `COALESCE_ZERO`, `COMMA`, `CONTAINS`, `DIV`, `ENDSWITH`, `EQ`, `EXTRACT`, `GE`, `GT`, `ILIKE`, `INVERT`, `JOIN`, `LE`, `LEFT_JOIN`, `LIKE`, `LOWER`, `LT`, `MOD`, `MUL`, `NE`, `NOT`, `NOT_NULL`, `ON`, `OR`, `PRIMARY_KEY`, `RAW`, `REGEXP`, `STARTSWITH`, `SUB`, `UPPER`, `adapt`, `alias`, `build_parsemap`, `bulk_insert`, `close`, `commit`, `common_filter`, `constraint_name`, `count`, `create_sequence_and_triggers`, `create_table`, `delete`, `drop`, `execute`, `expand`, `expand_all`, `get_table`, `insert`, `integrity_error`, `integrity_error_class`, `log_execute`, `migrate_table`, `operational_error`, `parse`, `parse_blob`, `parse_boolean`, `parse_date`, `parse_datetime`, `parse_decimal`, `parse_double`, `parse_id`, `parse_integer`, `parse_list_integers`, `parse_list_references`, `parse_list_strings`, `parse_reference`, `parse_time`, `parse_value`, `represent`, `represent_exceptions`, `rollback`, `rowslice`, `select`, `select_limitby`, `sequence_name`, `tables`, `trigger_name`, `truncate`, `update`

Inherited from `BaseAdapter` (private): `_count`, `_delete`, `_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]

Inherited from `MySQLAdapter`: `commit_on_alter_table`, `driver`, `maxcharlength`, `support_distributed_transaction`, `types` Inherited from `BaseAdapter`: `can_select_for_update`, `uploads_in_blob` Inherited from `ConnectionPool`: `check_active_connection`, `pools`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, db, uri=`'``google:sql://realm:domain/database``'`, pool_size=0, folder=global_settings.applications_parent, db_codec=`'``UTF-8``'`, credential_decoder=<function <lambda> at 0xfc41b8>, driver_args=`{``}`, adapter_args=`{``}`)
(Constructor)

source code

Overrides: MySQLAdapter.__init__