PHP » GoLang |
login |
register |
about
|
GoLang oci_new_connect
request it (423)
GoLang replacement for PHP's oci_new_connect
[edit | history]
oci_new_connect(PHP 5, PHP 7, PECL OCI8 >= 1.1.0) oci_new_connect — Connect to the Oracle server using a unique connection Description
resource oci_new_connect
( string
$username
, string $password
[, string $connection_string
[, string $character_set
[, int $session_mode
]]] )Establishes a new connection to an Oracle server and logs on. Unlike oci_connect() and oci_pconnect(), oci_new_connect() does not cache connections and will always return a brand-new freshly opened connection handle. This is useful if your application needs transactional isolation between two sets of queries. Parameters
Return Values
Returns a connection identifier or ExamplesThe following demonstrates how you can separate connections. Example #1 oci_new_connect() example
<?php See oci_connect() for further examples of parameter usage. See Also
|
more
Recently updated
more
Most requested
more
Last requests
|