Package-level declarations
Types
Link copied to clipboard
class AutoIncrementSqlPreparedStatement(index: Int = 0, preparedStatement: ERROR CLASS: Symbol not found for SqlPreparedStatement)
Link copied to clipboard
class EntityQueries(sqlDriver: ERROR CLASS: Symbol not found for SqlDriver) : <ERROR CLASS> ERROR CLASS: Symbol not found for TransacterImpl
Link copied to clipboard
Equivalent to > in SQL
Link copied to clipboard
Create a Path builder using one of the manu reified methods.
Link copied to clipboard
Represents a path in a JSON object, using limited reflection and descriptors to build the path.
Link copied to clipboard
open class KeyValueStorage<T : Any>(entityName: String, entityQueries: EntityQueries, metadataQueries: MetadataQueries, scope: ERROR CLASS: Symbol not found for CoroutineScope, type: KType, serializer: SqkonSerializer = KotlinSqkonSerializer(), config: KeyValueStorage.Config = Config(), readDispatcher: ERROR CLASS: Symbol not found for CoroutineDispatcher, writeDispatcher: ERROR CLASS: Symbol not found for CoroutineDispatcher, transacter: SqkonTransacter) : <ERROR CLASS> ERROR CLASS: Symbol not found for Transacter
Base interaction to the database.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ResultRow<T : Any>(val addedAt: ERROR CLASS: Symbol not found for Instant, val updatedAt: ERROR CLASS: Symbol not found for Instant, val expiresAt: ERROR CLASS: Symbol not found for Instant??, val readAt: ERROR CLASS: Symbol not found for Instant??, val writeAt: ERROR CLASS: Symbol not found for Instant, val value: T)
Link copied to clipboard
Functions
Link copied to clipboard
inline fun <R : Any, V> KProperty1<R, V>.builder(serialName: String? = null, block: JsonPathNode<R, V>.() -> Unit = {}): JsonPathBuilder<R>
Link copied to clipboard
inline fun <R : Any, V> KProperty1<R, Collection<V>>.builderFromList(block: JsonPathNode<out R, V>.() -> Unit = {}): JsonPathBuilder<R>
Link copied to clipboard
inline fun <T : Any> keyValueStorage(entityName: String, entityQueries: EntityQueries, metadataQueries: MetadataQueries, scope: ERROR CLASS: Symbol not found for CoroutineScope, serializer: SqkonSerializer = KotlinSqkonSerializer(), config: KeyValueStorage.Config = KeyValueStorage.Config(), readDispatcher: ERROR CLASS: Symbol not found for CoroutineDispatcher = dbReadDispatcher, writeDispatcher: ERROR CLASS: Symbol not found for CoroutineDispatcher = dbWriteDispatcher, transactor: SqkonTransacter = SqkonTransacter(entityQueries.sqlDriver)): KeyValueStorage<T>
Link copied to clipboard
fun Sqkon(context: Context, scope: CoroutineScope, json: Json = SqkonJson { }, inMemory: Boolean = false, config: KeyValueStorage.Config = KeyValueStorage.Config()): Sqkon
fun Sqkon(context: Context, scope: CoroutineScope, json: Json = SqkonJson { }, dbFileName: String? = "sqkon.db", config: KeyValueStorage.Config = KeyValueStorage.Config()): Sqkon
Main entry point for Sqkon on Android
fun Sqkon(scope: CoroutineScope, json: Json = SqkonJson { }, type: AndroidxSqliteDatabaseType = AndroidxSqliteDatabaseType.Memory, config: KeyValueStorage.Config = KeyValueStorage.Config()): Sqkon
Link copied to clipboard
inline fun <R : Any, V, V2> KProperty1<R, V>.then(property: KProperty1<out V, Collection<V2>>, block: JsonPathNode<out V, V2>.() -> Unit = {}): JsonPathBuilder<R>
inline fun <R : Any, V, V1 : V, V2> KProperty1<R, V>.then(property: KProperty1<V1, V2>, fromSerialName: String? = null, thenSerialName: String? = null, block: JsonPathNode<V1, V2>.() -> Unit = {}): JsonPathBuilder<R>
inline fun <R : Any, V, V1 : V, V2> KProperty1<R, Collection<V>>.then(property: KProperty1<V1, V2>, fromSerialName: String? = null, thenSerialName: String? = null, block: JsonPathNode<V1, V2>.() -> Unit = {}): JsonPathBuilder<R>
Link copied to clipboard
Link copied to clipboard
inline fun <R : Any, V> KClass<R>.withList(property: KProperty1<R, Collection<V>>, serialName: String? = null, block: JsonPathNode<R, V>.() -> Unit = {}): JsonPathBuilder<R>