Opens a connection to a MUMPS database. Must only be called when the connection is closed.
Arguments
Argument | Data Type | Required | Description |
---|---|---|---|
autoRelink (CFMumps 0.05 and later only) | boolean | No | If true, any routine called through this connection will be automatically re-linked before being executed. This allows you to use the most recent version of a routine without re-starting the CF application server. Omitting this parameter is equivalent to supplying it with a value of false. |
Example
CFScript
//open a connection to MUMPS var mumps = createObject("component", "lib.cfmumps.mumps").open(); //close it again mumps.close();
CFML
<!--- open a connection to MUMPS ---> <cfset mumps = createObject("component", "lib.cfmumps.mumps").open()> <!--- close it again ---> <cfset mumps.close()>
0 Comments