class RecordQueryBuilder
RecordQueryBuilder(handle: Handle, applicationRecordClass: KApplicationRecordClass, recordUpdater: RecordUpdater = RecordUpdater(handle, applicationRecordClass)) |
fun allRecords(): Query |
|
fun create(values: Map<String, Any?>): Update |
|
fun destroy(record: ApplicationRecord): Unit
Destroys (deletes) a record from the database. If the record's ID is missing (none/unsaved),
this will throw |
|
fun findRecord(id: Int): Query |
|
fun update(record: ApplicationRecord): Unit |
|
fun where(clause: Map<String, Any?>): Query |