Changes

Jump to navigation Jump to search
136 bytes added ,  15:54, 26 January 2023
no edit summary
==sql:connect==
 
{{Announce|Updated with Version 11:}} Optional credentials.
{| width='100%'
|- valign="top"
| width='120' | '''Signatures'''
|{{Func|sql:connect|$url as xs:string|xs:anyURI}}<br/ >{{Func|sql:connect|$url as xs:string, $username as xs:string?, $password as xs:string?|xs:anyURI}}<br/ >{{Func|sql:connect|$url as xs:string, $username as xs:string?, $password as xs:string?, $options as map(*)?|xs:anyURI}}<br/ >
|- valign="top"
| '''Summary'''
|This function establishes a connection to a relational database and returns a connection id. The parameter {{Code|$url}} is the URL of the database and shall be of the form: {{Code|jdbc:<driver name>:[//<server>[/<database>]]}}. If Values specified for {{Code|$username}} and {{Code|$password}} are specified, they are used as credentials for connecting to the database. The {{Code|$options}} parameter can be used to set connection options.
|- valign="top"
| '''Errors'''
=Changelog=
 
;Version 11
* Updated: {{Function||sql:connect}}: Optional credentials.
;Version 9.6
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu