Delete rows based on non-primary key field value

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Delete rows based on non-primary key field value

pintoo
This post has NOT been accepted by the mailing list yet.
DBunit uses Primary key to determine what data needs to be deleted using
Db.PerformDbOperation(DbOperationFlag.Delete)

Is there a way to delete rows based on one field value of a non-primary key field (e.g. delete rows where created_date = xyz)