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