pub fn query(source: &str, query_str: &str) -> Result<JsValue, JsError>Expand description
Run a BQL query on a Beancount source string.
Parses the source, interpolates, then executes the query.
Returns a QueryResult with columns, rows, and any errors.