utils library

Classes

PlaceholderQueryFragment
A query fragment that can be embedded in another query.

Functions

quoteIdentifier(String s) String
quoteJsonIndex(int index) String
quoteJsonPath(String path) String
quoteString(String s) String
selectJsonColumnMap(Map<Object, String>? columnMap) PlaceholderQueryFragment
Similar to selectJsonColumns, but allows specifying different output columns. This is useful for using on a List of Lists, instead of a List of Objects.
selectJsonColumns(List<String> columns) PlaceholderQueryFragment
Given a list of columns, return an expression extracting the columns from a list of JSON-encoded objects.