hugsql.adapter

HugsqlAdapter

protocol

Hugsql Adapter Protocol

members

execute

(execute this db sqlvec options)
Execute SQL/DDL/DML statement

on-exception

(on-exception this exception)
Exception handler allows adapter to redirect exceptions from HugSQL

query

(query this db sqlvec options)
Query SQL statement (expecting result set)

result-affected

(result-affected this result options)
Result: returns integer of affected rows/records

result-many

(result-many this result options)
Result: returns vector of hashmap records

result-one

(result-one this result options)
Result: returns one hashmap record

result-raw

(result-raw this result options)
Result: returns raw result, untouched