uniapp sqlite数据库运行一些报错

sqlite运行一些报错,下列报错简单易解决


 "android.database.sqlite.SQLiteException: near \",\": syntax error (Sqlite code 1 SQLITE_ERROR): , while compiling: INSERT INTO user_info (name,password,height,weight,level,vein,bmi,cycle,user_info_con,train_name,create_time) VALUES(是,试试,44,44,10,88,227.27,[{\"name\":\"第一循环\",\"state\":1,\"path\":1},{\"name\":\"第二循环\",\"state\":0,\"path\":2},{\"name\":\"第三循环\",\"state\":0,\"path\":3}],[{\"name\":\"是\",\"password\":\"试试\",\"height\":\"44\",\"weight\":\"44\",\"level\":\"10\",\"vein\":\"88\",\"bmi\":\"227.27\"}],,2024-06-05 21:36:19), (OS error - 11:Try again),https://ask.dcloud.net.cn/article/282"
 
 
 "android.database.sqlite.SQLiteException: table tn_stage has no column named parentid (Sqlite code 1 SQLITE_ERROR): , while compiling: INSERT INTO tn_stage ('parentid','userId','name','status','complete','isComplete','stageInfo','cycleNumber','order','list') VALUES('undefined','undefined','undefined','undefined','undefined','undefined','undefined','undefined','undefined','undefined'), (OS error - 2:No such file or directory),https://ask.dcloud.net.cn/article/282"
 
 {
    "code": -1404,
    "message": "android.database.sqlite.SQLiteException: table tn_stage has no column named parentid (Sqlite code 1 SQLITE_ERROR): , while compiling: INSERT INTO tn_stage ('parentid','userId','name','status','complete','isComplete','stageInfo','cycleNumber','order','list') VALUES('2','','芳芳','','0','0','[object Object]','1','2','[{\"status\":0,\"code\":1,\"parentid\":2},{\"status\":0,\"code\":2,\"parentid\":2},{\"status\":0,\"code\":3,\"parentid\":2},{\"status\":0,\"code\":4,\"parentid\":2},{\"status\":0,\"code\":5,\"parentid\":2}]'), (OS error - 2:No such file or directory),https://ask.dcloud.net.cn/article/282"
}

{
    "code": -1404,
    "message": "android.database.sqlite.SQLiteException: table tn_stage has no column named parentid (Sqlite code 1 SQLITE_ERROR): , while compiling: INSERT INTO tn_stage ('parentid','userId','name','status','complete','isComplete','stageInfo','cycleNumber','order','list') VALUES('1','','一套','','0','1','{}','1','1','[{\"status\":0,\"code\":1,\"parentid\":1},{\"status\":0,\"code\":2,\"parentid\":1},{\"status\":0,\"code\":3,\"parentid\":1},{\"status\":0,\"code\":4,\"parentid\":1},{\"status\":0,\"code\":5,\"parentid\":1}]'), (OS error - 2:No such file or directory),https://ask.dcloud.net.cn/article/282"
}

{
    "code": -1404,
    "message": "android.database.sqlite.SQLiteDatatypeMismatchException: datatype mismatch (Sqlite code 20 SQLITE_MISMATCH), (OS error - 2:No such file or directory),https://ask.dcloud.net.cn/article/282"
}
android.database.sqlite。SQLiteDatatypeMismatchException:数据类型不匹配

{
    "code": -1404,
    "message": "android.database.sqlite.SQLiteDatatypeMismatchException: datatype mismatch (Sqlite code 20 SQLITE_MISMATCH), (OS error - 2:No such file or directory),https://ask.dcloud.net.cn/article/282"
}
{
    "code": -1404,
    "message": "android.database.sqlite.SQLiteDatatypeMismatchException: datatype mismatch (Sqlite code 20 SQLITE_MISMATCH), (OS error - 2:No such file or directory),https://ask.dcloud.net.cn/article/282"
}

{"code":-1404,"message":"android.database.sqlite.SQLiteException: near \"(\": syntax error (Sqlite code 1 SQLITE_ERROR): , while compiling: CREATE TABLE IF NOT EXISTS (\"id\" INTEGER PRIMARY KEY AUTOINCREMENT,\"name\" text,\"orderNumber\" text,\"method\" text,\"fuhe\" text,\"image\" text,\"videoUrl\" text,\"trainTime\" text,\"status\" text,\"sourceType\" text,\"stage\" text,\"loopName\" text,\"day\" text,\"trainType\" text,\"canRevoke\" text), (OS error - 11:Try again),



{
    "code": -1404,
    "message": "android.database.sqlite.SQLiteException: no such table: tnxl_one (Sqlite code 1 SQLITE_ERROR): , while compiling: INSERT INTO tnxl_one ('oid','name','orderNumber','method','fuhe','image','videoUrl','trainTime','status','sourceType','stage','loopName','day','trainType','canRevoke') VALUES('14085ef067988d363a8045c17cbe20a0','平板支撑','1','俯卧撑肘部支撑在垫子上,头部、躯干及身体保持平直,保持稳定支撑','保持肌肉静态持续收缩20秒,2组','pingbanzhicheng.jpg','pingbanzhicheng_batch.mp4','','0','低','1','1','1','核心训练','0'), (OS error - 2:No such file or directory),https://ask.dcloud.net.cn/article/282"
}


{
    "code": -1404,
    "message": "android.database.sqlite.SQLiteException: table tnxl_one has no column named name (Sqlite code 1 SQLITE_ERROR): , while compiling: INSERT INTO tnxl_one ('oid','name','orderNumber','method','fuhe','image','videoUrl','trainTime','status','sourceType','stage','loopName','day','trainType','canRevoke') VALUES('14085ef067988d363a8045c17cbe20a0','平板支撑','1','俯卧撑肘部支撑在垫子上,头部、躯干及身体保持平直,保持稳定支撑','保持肌肉静态持续收缩20秒,2组','pingbanzhicheng.jpg','pingbanzhicheng_batch.mp4','','0','低','1','1','1','核心训练','0'), (OS error - 2:No such file or directory),https://ask.dcloud.net.cn/article/282"
}


 {"code":-1404,"message":"android.database.sqlite.SQLiteException: table user_info has no column named userid (Sqlite code 1 SQLITE_ERROR): , while compiling: INSERT INTO user_info ('name','password','height','weight','level','vein','bmi','cycle','stageUserInfo','trainName','createTime','userid') VALUES('45','33','47','77','10','88','348.57','[{\"name\":\"第一循环\",\"state\":1,\"path\":1},{\"name\":\"第二循环\",\"state\":0,\"path\":2},{\"name\":\"第三循环\",\"state\":0,\"path\":3}]','[{\"name\":\"45\",\"password\":\"33\",\"height\":\"47\",\"weight\":\"77\",\"level\":\"10\",\"vein\":\"88\",\"bmi\":\"348.57\"}]','','2024-06-10 19:55:12','tnxl_one'), (OS error - 2:No such file or directory),
  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值