Common Lisp Package: CLACK.MIDDLEWARE.DBI

# Clack.Middleware.Dbi - Middleware for CL-DBI connection management. ## SYNOPSIS (builder (<clack-middleware-dbi> :driver-name :mysql :database-name "dbname" :username "fukamachi" :password "password") app) ## DESCRIPTION This is a Clack Middleware component for managing CL-DBI's connections. ## Slots * driver-name (Required, Keyword) * database-name (Required, String) Other parameters (`:username`, `:password` and so on) will be passed to `dbi:connect` as keyword parameters. ## AUTHOR * Eitarow Fukamachi (e.arrows@gmail.com) ## SEE ALSO * [CL-DBI](https://github.com/fukamachi/cl-dbi)

README:

FUNCTION

Private

CONNECT (DRIVER-NAME &REST PARAMS &KEY DATABASE-NAME &ALLOW-OTHER-KEYS)

Open a connection to the database which corresponds to `driver-name`.

GENERIC-FUNCTION

Private

Undocumented

DISCONNECT (CONN)

SLOT-ACCESSOR

Private

Undocumented

ARGS (OBJECT)

SETFARGS (NEW-VALUE OBJECT)

DRIVER-NAME (OBJECT)

SETFDRIVER-NAME (NEW-VALUE OBJECT)

VARIABLE

Public

Undocumented

*DB*

CLASS

Public

Undocumented

<CLACK-MIDDLEWARE-DBI>