gino package

Module contents

gino.create_engine(*args, **kwargs)

Shortcut for sqlalchemy.create_engine() with strategy="gino".

在 1.1 版更改: Added the bakery keyword argument, please see Bakery.

在 1.1 版更改: Added the prebake keyword argument to choose when to create the prepared statements for the queries in the bakery:

  • Pre-bake immediately when connected to the database (default).

  • No pre-bake but create prepared statements lazily when needed for the first time.

Note: prebake has no effect in aiomysql

gino.get_version()

Get current GINO version.