Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter sembast delete a single record

var db = await openDatabase();
var store = intMapStoreFactory.store();
await store.delete(
  db, 
  finder: Finder(
    filter: Filter.and([
      Filter.equals("name", statement.name),
      Filter.equals("calories", statement.calories),
      Filter.equals("protien", statement.protein),
      Filter.equals("amount", statement.amount),
      Filter.equals("gram", statement.gram),
    ]),
  )
);
 
PREVIOUS NEXT
Tagged: #flutter #sembast #delete #single #record
ADD COMMENT
Topic
Name
9+9 =