You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use sqfentity_gen: 2.1.2+4 in my project and after update this package, model.g.dart some Errors occurred for example Undefined name 'whereString'. so for SearchCriteria after run flutter pub run build_runner build --delete-conflicting-outputs errors clear but occurred errors in run time
i have many to many relationship between two tables like tblProgram and tblpartition and define this relationship in tblpartiotion like this SqfEntityFieldRelationship( relationType: RelationType.MANY_TO_MANY, parentTable: tblProgram, fieldName: 'partitionProgram', manyToManyTableName: 'partitionProgram', deleteRule: DeleteRule.NO_ACTION, ),
and for insert row to this table await PartitionProgram.saveAll([ PartitionProgram(partitionTblId: part.id!, programTblId: temp!)
before with previous version sqfentity_gen: 2.1.2+4 this line has no error in run time but after update to 2.2.0+7 occurred this error E/flutter (15125): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: DatabaseException(near ")": syntax error: , while compiling: INSERT INTO partitionProgram ( partitionTblId, programTblId) VALUES ()) sql 'INSERT INTO partitionProgram ( partitionTblId, programTblId) VALUES ()' args [2, 7]
what is my wrong ? thanks for your help
The text was updated successfully, but these errors were encountered:
I use sqfentity_gen: 2.1.2+4 in my project and after update this package, model.g.dart some Errors occurred for example Undefined name 'whereString'. so for SearchCriteria after run flutter pub run build_runner build --delete-conflicting-outputs errors clear but occurred errors in run time
i have many to many relationship between two tables like tblProgram and tblpartition and define this relationship in tblpartiotion like this
SqfEntityFieldRelationship( relationType: RelationType.MANY_TO_MANY, parentTable: tblProgram, fieldName: 'partitionProgram', manyToManyTableName: 'partitionProgram', deleteRule: DeleteRule.NO_ACTION, ),
and for insert row to this table
await PartitionProgram.saveAll([ PartitionProgram(partitionTblId: part.id!, programTblId: temp!)
before with previous version sqfentity_gen: 2.1.2+4 this line has no error in run time but after update to 2.2.0+7 occurred this error
E/flutter (15125): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: DatabaseException(near ")": syntax error: , while compiling: INSERT INTO partitionProgram ( partitionTblId, programTblId) VALUES ()) sql 'INSERT INTO partitionProgram ( partitionTblId, programTblId) VALUES ()' args [2, 7]
what is my wrong ? thanks for your help
The text was updated successfully, but these errors were encountered: