drift icon indicating copy to clipboard operation
drift copied to clipboard

feat: Common Root Manager Operations should work with id

Open dickermoshe opened this issue 1 year ago • 0 comments

It would make more sense to have the top level APIs work on a single item. For example, when deleting a single object, it is much shorter to write

todos.delete(5); 
todos.deleteAll();
//  than
product.filter((f) => f.id(5)).delete(); // Delete 5
todos.delete();  // Delete All

This would be a breaking change

dickermoshe avatar May 05 '24 22:05 dickermoshe