package fr.postgresjson.connexion import com.fasterxml.jackson.core.type.TypeReference import kotlin.jvm.Throws @Throws(DataNotFoundException::class) inline fun EmbedExecutable.execute( values: List, noinline block: SelectCallback = {} ): R? = execute(object : TypeReference() {}, values, block) @Throws(DataNotFoundException::class) inline fun EmbedExecutable.execute( values: Map, noinline block: SelectCallback = {} ): R? = execute(object : TypeReference() {}, values, block) @Throws(DataNotFoundException::class) inline fun EmbedExecutable.execute( vararg values: Pair, noinline block: SelectCallback = {} ): R? = execute(object : TypeReference() {}, values = values, block)