WIP on KotlinX Json tests
This commit is contained in:
@@ -100,7 +100,7 @@ object Results {
|
||||
*/
|
||||
@JvmStatic
|
||||
fun jsonFromDocument(field: String, rs: ResultSet) =
|
||||
rs.getString(field)
|
||||
rs.getString(field) ?: "{}"
|
||||
|
||||
/**
|
||||
* Retrieve the JSON text of a document, specifying the field in which the document is found
|
||||
|
||||
Reference in New Issue
Block a user