DatabaseQueryData

data class DatabaseQueryData(val columns: List<String>, val rows: List<List<String>>, val truncated: Boolean, val rowIds: List<Long?> = emptyList())

Constructors

Link copied to clipboard
constructor(columns: List<String>, rows: List<List<String>>, truncated: Boolean, rowIds: List<Long?> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard

Parallel to rows -- rowIds[i] is the SQLite rowid for rows[i], letting a dashboard build an unambiguous WHERE rowid = ? for a single-row edit. Empty when the underlying query has no well-defined rowid (arbitrary SQL via the console, or a WITHOUT ROWID table); a present entry may itself be null if the row's rowid was somehow NULL.

Link copied to clipboard
Link copied to clipboard