gino.dialects.base module

class gino.dialects.base.AsyncDialectMixin

基类:object

  • compile(elem, \multiparams, **params*)

  • cursor_cls

    DBAPICursor 的别名

  • classmethod dbapi()

  • dbapi_class

    BaseDBAPI 的别名

  • async init_pool(url, loop)

  • transaction(raw_conn, args, kwargs)

class gino.dialects.base.BaseDBAPI

基类:object

  • static Binary(x)

  • Error

    builtins.Exception 的别名

  • paramstyle = ‘numeric’

class gino.dialects.base.Cursor

基类:object

  • async forward(n, **, timeout=<object object>*)

  • async many(n, **, timeout=<object object>*)

  • async next(**, timeout=<object object>*)

class gino.dialects.base.DBAPICursor

基类:object

  • async async_execute(query, timeout, args, limit=0, many=False)

  • property description

  • execute(statement, parameters)

  • executemany(statement, parameters)

  • get_statusmsg()

  • async prepare(context, clause=None)

class gino.dialects.base.ExecutionContextOverride

基类:object

  • get_result_proxy()

  • loader

  • model

  • process_rows(rows, return_model=True)

  • return_model

  • timeout

class gino.dialects.base.Pool

基类:object

  • async acquire(**, timeout=None*)

  • async close()

  • property raw_pool

  • async release(conn)

  • repr(color)

class gino.dialects.base.PreparedStatement(clause=None)

基类:object

  • async all(\multiparams, **params*)

  • async first(\multiparams, **params*)

  • iterate(\params, **kwargs*)

  • async scalar(\multiparams, **params*)

  • async status(\multiparams, **params*)

class gino.dialects.base.Transaction

基类:object

  • async begin()

  • async commit()

  • property raw_transaction

  • async rollback()