gino package



Module contents

gino.create_engine(*args, **kwargs)

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

Changed in version 1.1: Added the bakery keyword argument, please see Bakery.

Changed in version 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


Get current GINO version.