delete method

Future<int> delete(
  1. String otype,
  2. String oid
)

Deletes the entity of the given oid.

Implementation

Future<int> delete(String otype, String oid) {
  uncache(otype, oid);
  return execute('delete from "$otype" where "$fdOid"=@$fdOid',
    {fdOid: oid});
}