This commit is contained in:
yumoqing 2022-11-16 16:54:53 +08:00
parent 942761209d
commit 009fb014cd
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import re import re
from .sqlite3or import Sqlite3or from .sqlite3or import SQLite3or
class Aiosqliteor(Sqlite3or): class Aiosqliteor(SQLite3or):
@classmethod @classmethod
def isMe(self,name): def isMe(self,name):
return name=='aiosqlite' return name=='aiosqlite'

View File

@ -17,6 +17,7 @@ from .sor import SQLor
from .mssqlor import MsSqlor from .mssqlor import MsSqlor
from .oracleor import Oracleor from .oracleor import Oracleor
from .sqlite3or import SQLite3or from .sqlite3or import SQLite3or
from .aiosqliteor import Aiosqliteor
from .mysqlor import MySqlor from .mysqlor import MySqlor
from .aiomysqlor import AioMysqlor from .aiomysqlor import AioMysqlor
from .aiopostgresqlor import AioPostgresqlor from .aiopostgresqlor import AioPostgresqlor

View File

@ -22,7 +22,7 @@ if __name__ == '__main__':
sys.exit(1) sys.exit(1)
dbs = { dbs = {
"db":{ "db":{
"driver":"sqlite3", "driver":"aiosqlite",
"kwargs":{ "kwargs":{
"dbname":sys.argv[1] "dbname":sys.argv[1]
} }