Package-level declarations

Types

Link copied to clipboard
interface Bind

An interface that defines the binding of values with ? to handle safely. Typically used within the context of INSERT or UPDATE statements.

Link copied to clipboard

Represents standard BOOLEAN as Boolean literal in a KQLite query.

Link copied to clipboard

Represents standard BLOB as ByteArray literal in a KQLite query.

Link copied to clipboard
class ByteLiteral(value: Byte) : Literal<Byte>

Represents an 8-bit signed Byte literal in a KQLite query.

Link copied to clipboard
class CASE(builder: CaseBuilder.() -> Unit) : KQLiteColumn<String>

Represents a SQL CASE expression in a KQLite query.

Link copied to clipboard
interface CaseBuilder

DSL builder for constructing the branches of a CASE expression.

Link copied to clipboard
class CharLiteral(value: Char) : Literal<Char>

Represents a single Char literal in a KQLite query.

Link copied to clipboard

Represents a DATE as KQLiteDate literal in a KQLite query.

Link copied to clipboard

Represents a DATETIME as KQLiteDateTime literal in a KQLite query.

Link copied to clipboard

A marker interface to work with SQLite's date and time functions.

Link copied to clipboard

Represents standard REAL a 64-bit double-precision Double literal in a KQLite query.

Link copied to clipboard
class FloatLiteral(value: Float) : Literal<Float>

Represents a 32-bit single-precision Float literal in a KQLite query.

Link copied to clipboard

Specifies GENERATED ALWAYS AS in a database table.

Link copied to clipboard
class IntLiteral(value: Int) : Literal<Int>

Represents a 32-bit signed Int literal in a KQLite query.

Link copied to clipboard

Represents a JSON ARRAY as KQLiteJsonArray literal in a KQLite query.

Link copied to clipboard

Represents a JSON as KQLiteJson literal in a KQLite query.

Link copied to clipboard

Represents a JSON OBJECT as KQLiteJsonObject literal in a KQLite query.

Link copied to clipboard

Represents a KQLiteJulianDay literal in a KQLite query.

Link copied to clipboard
sealed class KQLiteColumn<T>(name: String, type: KQLiteType)

Represents a column in a KQLite database table (KQLiteTable).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface KQLiteJson

Represents com.kqlite.functions.JSON data stored within a KQLiteTable.jsonColumn.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class Literal<T>(type: KQLiteType, value: Any) : KQLiteColumn<T>

Represents a literal value in a KQLite query.

Link copied to clipboard
class LongLiteral(value: Long) : Literal<Long>

Represents standard INTEGER a 64-bit signed Long literal in a KQLite query.

Link copied to clipboard
class OrderColumn @JvmOverloads constructor(column: KQLiteColumn<*>, collate: Collate? = null, sort: Sort? = null, nulls: Nulls? = null)

Represents a column used in an ORDER BY clause, specifying the sorting criteria.

Link copied to clipboard
class ShortLiteral(value: Short) : Literal<Short>

Represents a 16-bit signed Short literal in a KQLite query.

Link copied to clipboard

Represents standard TEXT as String literal in a KQLite query.

Link copied to clipboard

Represents a TIME as KQLiteTime literal in a KQLite query.

Link copied to clipboard
class UByteLiteral(value: UByte) : Literal<UByte>

Represents an 8-bit unsigned UByte literal in a KQLite query.

Link copied to clipboard
class UIntLiteral(value: UInt) : Literal<UInt>

Represents a 32-bit unsigned UInt literal in a KQLite query.

Link copied to clipboard
class ULongLiteral(value: ULong) : Literal<ULong>

Represents a 64-bit unsigned ULong literal in a KQLite query.

Link copied to clipboard

Represents a KQLiteUnixEpoch literal in a KQLite query.

Link copied to clipboard

Represents a 16-bit unsigned UShort literal in a KQLite query.

Link copied to clipboard
interface WhenBlock

Represents a conditional branch within a CASE expression.

Properties

Link copied to clipboard

Represents the SQL CURRENT_DATE function.

Link copied to clipboard

Represents the SQL CURRENT_TIME function.

Link copied to clipboard

Represents the SQL CURRENT_TIMESTAMP function.

Functions

Link copied to clipboard

Applies the auto modifier, allowing SQLite to automatically convert between date/time text representations and Julian day numbers as needed.

Link copied to clipboard

Applies ceiling modifier to a date/time value.

Link copied to clipboard

Applies NNN days modifier to a date/time value.

Link copied to clipboard

Applies floor modifier to a date/time value.

Link copied to clipboard

Applies NNN hours modifier to a date/time value.

Link copied to clipboard

Applies julianday modifier to a date/time value.

Link copied to clipboard

Applies the localtime modifier to a date/time value, converting it from UTC to the local time zone.

Link copied to clipboard

Applies -YYYY-MM-DD modifier to a date/time value.

Link copied to clipboard

Applies NNN minutes modifier to a date/time value.

Link copied to clipboard

Applies NNN months modifier to a date/time value.

Link copied to clipboard

Adds a NOT NULL constraint to the column.

Link copied to clipboard

Applies the now modifier to a date/time function, representing the current UTC date and time. For local time, use localtime.

Link copied to clipboard

Applies +YYYY-MM-DD modifier to a date/time value.

Link copied to clipboard

Applies NNN seconds modifier to a date/time value.

Link copied to clipboard

Applies start of day modifier to a date/time value.

Link copied to clipboard

Applies start of month modifier to a date/time value.

Link copied to clipboard

Applies start of year modifier to a date/time value.

Link copied to clipboard

Applies the subsec modifier to a date/time value, enabling fractional second precision.

Link copied to clipboard

Applies the subsecond modifier to a date/time value, enabling fractional second precision.

Link copied to clipboard

Applies unixepoch modifier to a date/time value.

Link copied to clipboard

Applies the utc modifier to a date/time value, interpreting it as Coordinated Universal Time (UTC).

Link copied to clipboard

Applies weekday N modifier to a date/time value.

Link copied to clipboard

Applies NNN years modifier to a date/time value.