... g from flask.cli import with_appcontext def get_db( ): if 'db' not in g: g.db = sqlite3.connect( current_app.config['DATABASE'], detect_types = sqlite3.
確定! 回上一頁