All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.github.mejiomah17.yasb.sqlite.SqliteDeleteTest.kt Maven / Gradle / Ivy

The newest version!
package com.github.mejiomah17.yasb.sqlite

import com.github.mejiomah17.yasb.core.transaction.TransactionAtLeastRepeatableRead
import com.github.mejiomah17.yasb.dsl.DeleteTest
import com.github.mejiomah17.yasb.dsl.TestTable

interface SqliteDeleteTest<
    TABLE : TestTable,
    DRIVER_DATA_SOURCE,
    DRIVER_STATEMENT,
    DIALECT : SqliteDatabaseDialect,
    TRANSACTION : TransactionAtLeastRepeatableRead
    > :
    DeleteTest {

    override fun initSqlScripts(): List {
        return listOf(
            "DELETE FROM test",
            """INSERT INTO test (a,b) values (
                    |'the a',
                    |'the b'
                    | ),
                    | (
                    |'the aa',
                    |'the asd'
                    | )
            """.trimMargin()
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy