Common Lisp Package: DBI.DRIVER

README:

FUNCTION

Public

FIND-DRIVER (DRIVER-NAME)

Find a driver class named as `driver-name`. `driver-name` is a string designer. Driver should be named like '<DBD-SOMETHING>' for a database 'something'.

LIST-ALL-DRIVERS

Return a list of direct subclasses for `<dbi-driver>`.

GENERIC-FUNCTION

Public

Undocumented

BEGIN-TRANSACTION (CONN)

COMMIT (CONN)

DISCONNECT (CONN)

DO-SQL (CONN SQL &REST PARAMS)

ESCAPE-SQL (CONN SQL)

EXECUTE (QUERY &REST PARAMS)

EXECUTE-USING-CONNECTION (CONN QUERY PARAMS)

FETCH (QUERY)

FETCH-ALL (QUERY)

FETCH-USING-CONNECTION (CONN QUERY)

MAKE-CONNECTION (DRIVER)

PREPARE (CONN SQL &KEY (QUERY-CLASS '<DBI-QUERY>))

ROLLBACK (CONN)

Private

Undocumented

PREPARE-SQL (CONN SQL)

SLOT-ACCESSOR

Public

Undocumented

CONNECTION-HANDLE (OBJECT)

SETFCONNECTION-HANDLE (NEW-VALUE OBJECT)

QUERY-CONNECTION (OBJECT)

SETFQUERY-CONNECTION (NEW-VALUE OBJECT)

QUERY-PREPARED (OBJECT)

SETFQUERY-PREPARED (NEW-VALUE OBJECT)

Private

Undocumented

CLASS-DIRECT-SUBCLASSES (CLASS)

CLASS

Public

<DBI-CONNECTION>

Base class for managing DB connection.

<DBI-DRIVER>

Base class for DB driver.

<DBI-QUERY>

Class that represents a prepared DB query.

CONDITION

Private

<DBI-NOTSUPPORTED-ERROR>

Exception raised if e.g. commit() is called for a database which do not support transactions.

<DBI-UNIMPLEMENTED-ERROR>

Exception raised if the DBD driver has not specified a mandatory method.