openQuery
Opens an SQL query - see the SQL documentation for more details on XTDB's SQL support.
By default, this method will block indefinitely until the node has indexed the requested transaction, or you can specify a timeout.
Return
the results stream. This result stream MUST be explicitly closed when no longer required.
Parameters
sql
the SQL query
opts
query options