rowId

Represents the SQLite rowid column.

This property provides a convenient way to access the rowid for querying, sorting, or joining purposes. It is defined as a INTEGER NOT NULL column.

Example

val id =
Artists
.insert()
.bind {
it.artistName.bind("Artist Name")
}.executeReturning(Artists.rowId)
println("Artist inserted with ID: $id")

Author

MOHAMMAD AZIM ANSARI

See also