from sqlbatis import (
    connection,
    transaction,
    with_connection,
    with_transaction,
    get_connection,
    sql,
    mapper,
    init_snowflake,
    get_snowflake_id
)
from .engin import MySqlEngin

def init_db(host='127.0.0.1', port=3306, database='test', user='root', password='', mapper_path='mapper', pool_size=0, show_sql=False, **kwargs):
    from sqlbatis import init_db as supper_init_db

    MySqlEngin.init()
    supper_init_db(host=host, port=port, user=user, database=database, password=password, mapper_path=mapper_path, pool_size=pool_size, \
                   show_sql=show_sql, **kwargs)

