SQL Databases

Overview

Generic Database Interface

usage

(import :std/db/dbi)

connection?

usage

(connection? ...)

Please document me!

statement?

usage

(statement? ...)

Please document me!

sql-error?

usage

(sql-error? ...)

Please document me!

sql-connect

usage

(sql-connect ...)

Please document me!

sql-close

usage

(sql-close ...)

Please document me!

sql-prepare

usage

(sql-prepare ...)

Please document me!

sql-bind

usage

(sql-bind ...)

Please document me!

sql-clear

usage

(sql-clear ...)

Please document me!

sql-reset

usage

(sql-reset ...)

Please document me!

sql-reset/clear

usage

(sql-reset/clear ...)

Please document me!

sql-finalize

usage

(sql-finalize ...)

Please document me!

sql-eval

usage

(sql-eval ...)

Please document me!

sql-eval-query

usage

(sql-eval-query ...)

Please document me!

sql-exec

usage

(sql-exec ...)

Please document me!

sql-query

usage

(sql-query ...)

Please document me!

in-sql-query

usage

(in-sql-query ...)

Please document me!

sql-columns

usage

(sql-columns ...)

Please document me!

sql-txn-begin

usage

(sql-txn-begin ...)

Please document me!

sql-txn-commit

usage

(sql-txn-commit ...)

Please document me!

sql-txn-abort

usage

(sql-txn-abort ...)

Please document me!

SQLite driver

usage

(import :std/db/sqlite)

sqlite-open

usage

(sql-connect sqlite-open ...)

Please document me!

PostgreSQL driver

usage

(import :std/db/postgresql)

postgresql-connect

usage

(sql-connect postgresql-connect ...)

Please document me!

defcatalog

usage

(defcatalog ...)

Please document me!

defcatalog-default

usage

(defcatalog-default ...)

Please document me!

default-catalog

usage

(def default-catalog)

Please document me!

current-catalog

usage

(current-catalog ...)

Please document me!

MySQL driver

usage

(import :std/db/mysql)

mysql-connect

usage

(sql-connect mysql-connect ...)

Please document me!

Connection Pools

usage

(import :std/db/conpool)

make-conpool

usage

(make-conpool ...)

Please document me!

conpool?

usage

(conpool? ...)

Please document me!

conpool-get

usage

(conpool-get ...)

Please document me!

conpool-put

usage

(conpool-put ...)

Please document me!

conpool-release

usage

(conpool-release ...)

Please document me!

conpool-close

usage

(conpool-close ...)

Please document me!

Example