Does @update and @delete annotation allows to update or delete record using entity object #623
Unanswered
arunkumaryadav87
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just like insert where we pass entity as parameter to insert
@insert
Future<List> insertSample(List sampleEntity);
Will update and delete also works?
@update
Future<List> updateSample(List sampleEntity);
@delete
Future<Sample?> deleteSample(int id);
Beta Was this translation helpful? Give feedback.
All reactions