NAME

Net::Gnats::Command::CHDB

DESCRIPTION

Switches the current database to the name specified in the command.

PROTOCOL

CHDB [database]

RESPONSES

The possible responses are:

422 (CODE_NO_ACCESS)

The user does not have permission to access the requested database.

417 (CODE_INVALID_DATABASE)

The database specified does not exist, or one or more configuration errors in the database were encountered.

210 (CODE_OK)

The current database is now database. Any operations performed will now be applied to database.