Add Json support to kotlinx

This commit is contained in:
2025-03-29 19:49:35 -04:00
parent 33daaed7b4
commit 79436d6fd0
7 changed files with 1125 additions and 8 deletions

View File

@@ -145,12 +145,8 @@ object Json {
*/
@Throws(DocumentException::class)
@JvmStatic
fun byFields(
tableName: String,
fields: Collection<Field<*>>,
howMatched: FieldMatch? = null,
conn: Connection
) = byFields(tableName, fields, howMatched, null, conn)
fun byFields(tableName: String, fields: Collection<Field<*>>, howMatched: FieldMatch? = null, conn: Connection) =
byFields(tableName, fields, howMatched, null, conn)
/**
* Retrieve documents using a JSON containment query, ordering results by the given fields (PostgreSQL only)