mixin

Funcs

Funcs : Funcs

meta mixin slots sqlPing

Deprecated - use connPing()

sqlSyncHis

Deprecated - use connSyncHis()

sqlDebugDrivers

Return plain text report on JDBC drivers installed

sqlTables

Query the tables defined for the database

sqlQuery

Execute a SQL query and return the result as a grid

sqlExecute

Execute a SQL statement and if applicable return a result

sqlInsert

Insert a record or grid of records into the given table

sqlPing (conn: Obj) => Future <admin, deprecated>

Deprecated - use connPing()

sqlSyncHis (points: Obj, span: Obj?) => Obj? <admin, deprecated>

Deprecated - use connSyncHis()

sqlDebugDrivers () => Str <admin>

Return plain text report on JDBC drivers installed.

sqlTables (conn: Obj) => Grid <admin>

Query the tables defined for the database. Return a grid with the name column.

Examples:

read(sqlConn).sqlTables
sqlTables(sqlConnId)

sqlQuery (conn: Obj, sql: Str) => Grid <admin>

Execute a SQL query and return the result as a grid. Blob columns under 10K are returned as base64.

Examples:

read(sqlConn).sqlQuery("select * from some_table")
sqlQuery(sqlConnId, "select * from some_table")

WARNING: any admin user will have full access to query the database based on the user account configured by the sqlConn.

sqlExecute (conn: Obj, sql: Str) => Obj? <admin>

Execute a SQL statement and if applicable return a result. If the statement produced auto-generated keys, then return an list of the keys generated, otherwise return number of rows modified.

WARNING: any admin user will have full access to update the database based on the user account configured by the sqlConn.

sqlInsert (data: Obj?, conn: Obj, table: Str) => Obj? <admin>

Insert a record or grid of records into the given table. If data is a dict, thena single row is inserted. If data is a grid or list of dicts, then each row is inserted. The data's column names must match the table's columns. If the data has a tag/column not found in the table then it is ignored.

WARNING: any admin user will have full access to update the database based on the user account configured by the sqlConn.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST