Generic function CONNECT
Package:
CLARITY
Syntax:
connect db-spec => database-connection
Arguments and Values:
db spec
---a string
(optional) connection
--- a string
Description:
The generic function connect sets up a connection to an underlying CLARITY database for the handle. It takes two parameter, clarity handle, to preserve one's session, and db-spec a database connection string.
Known Methods:
-
connect (clarity-handle-object clarity-handle) (dp-spec string) => database-connection
-
connect (clarity-handle-object clarity-handle) (dp-spec string)) => database-connection
This uses the method sqlcon in place of a connection string.  In this case, db spec would be the null string, "".
Examples:
cl-prompt: (clarity:connect myclarityhandle "data source name/user/password") #<CLARITY:CLARITY-HANDLE 2061155C> connecting as "data source name/user" #<SQL::ODBC-DATABASE "data source name/user" 205F450C>
Affected By:
None.
Exceptional Situations:
None.
See Also:
None
Notes:
None.
News
News in chronological order, most recent on top.
- 2006-07-24
Completed description.
© 2006, Samantha Kleinberg, all rights reserved.