(PHP 4 >= 4.0.6, PECL yaz >= 0.9.0)
yaz_database — Specifies the databases within a session
$id
, string $databases
) : boolThis 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().
id
The connection resource returned by yaz_connect().
databases
A string containing one or more databases. Multiple databases are
separated by a plus sign +
.
成功时返回 true
, 或者在失败时返回 false
。