php8.5
Home/ Manual/ yaz / functions/ yaz_database

yaz_database

PHP function Edit on GitHub ✎

(PHP 4 >= 4.0.6, PECL yaz >= 0.9.0)

Specifies the databases within a session

Description

yaz_database(resource $id, string $databases): bool

This function allows you to change databases within a session by specifying one or more databases to be used in search, retrieval, etc. - overriding databases specified in call to yaz_connect().

Parameters

id

The connection resource returned by yaz_connect().

databases

A string containing one or more databases. Multiple databases are separated by a plus sign +.

Return Values

Success

Source: reference/yaz/functions/yaz-database.xml · from the official PHP manual (php/doc-en)