deleteSync method

bool deleteSync(
  1. int id
)

Delete a single object by its id. Returns whether the object has been deleted.

Implementation

bool deleteSync(int id) => deleteAllSync([id]) == 1;