KSql Client
Functions
Link copied to clipboard
@NewChain
Content copied to clipboard
Link copied to clipboard
abstract fun <E : Any> createDelete(entityType: KClass<E>, block: KMutableDelete<E>.() -> Unit): KExecutable<Int>
Content copied to clipboard
Link copied to clipboard
open fun <E : Any, R> createQuery(entityType: KClass<E>, block: KMutableRootQuery<E>.() -> KConfigurableRootQuery<E, R>): KConfigurableRootQuery<E, R>
Content copied to clipboard
Link copied to clipboard
abstract fun <E : Any> createUpdate(entityType: KClass<E>, block: KMutableUpdate<E>.() -> Unit): KExecutable<Int>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun <R> executeNativeSql(master: Boolean = false, block: (Connection) -> R): R
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
-
If trigger type is 'BINLOG_ONLY'
- If `transaction` is true, throws exception
- If `transaction` is false, return binlog trigger
- If trigger type is 'TRANSACTION_ONLY', returns transaction trigger no matter what the `transaction` is
-
If trigger type is 'BOTH'
- If `transaction` is true, return transaction trigger
- If `transaction` is false, return binlog trigger