Available in versions: Dev (3.22) | Latest (3.21) | 3.20 | 3.19 | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12

CRUD: Delete

Supported by ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

An org.jooq.UpdatableRecord can be deleted simply by calling UpdatableRecord.delete()

// Get a book
BookRecord book = create.fetchOne(BOOK, BOOK.ID.eq(id));

// Delete the record: DELETE FROM BOOK WHERE ID = :id
book.delete();

Feedback

Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo