Name

WITH-DATABASE —

Function

Syntax

       (WITH-DATABASE DB-VAR CONNECTION-SPEC &REST CONNECT-ARGS &BODY BODY) [macro] => 

Arguments and Values

Description

Evaluate the body in an environment, where `db-var' is bound to the database connection given by `connection-spec' and `connect-args'. The connection is automatically closed or released to the pool on exit from the body.

Examples

        
      

Side Effects

Affected by

Exceptional Situations

See Also

Notes