def connection(self, name=None): if self._connection: return self._connection self._connection = SQLiteConnection(SQLiteConnector().connect({'database': ':memory:'})) return self._connection
def connection(self, name=None): if self._connection: return self._connection self._connection = SQLiteConnection(SQLiteConnector().connect( {"database": ":memory:"})) return self._connection
def connection(self, name=None): if self._connection: return self._connection self._connection = SQLiteConnection(SQLiteConnector().connect( {'database': ':memory:'}), config={'name': u'test'}) self._prepare(self._connection) return self._connection
def connection(self, name=None): if self._connection: return self._connection self._connection = SQLiteConnection(SQLiteConnector().connect({ 'database': ':memory:', 'foreign_keys': False })) return self._connection
def connection(self, name=None): if self._connection: return self._connection self._connection = SQLiteConnection(SQLiteConnector().connect({ "database": ":memory:", "foreign_keys": False })) return self._connection