TokyoTyrant::copy

(PECL tokyo_tyrant >= 0.1.0) Copies the database public TokyoTyrant TokyoTyrant::copy ( string $path ) Makes a copy of the current database Parameters: path Path to where to copy the database. The user running the remote database must have a write access to the directory. Returns: This method returns the current object and throws TokyoTyrantEx

TokyoTyrant::__construct

(PECL tokyo_tyrant >= 0.1.0) Construct a new TokyoTyrant object public TokyoTyrant::__construct ([ string $host [, int $port = TokyoTyrant::RDBDEF_PORT [, array $options ]]] ) Constructs a new TokyoTyrant object and optionally connects to the database Parameters: host The hostname. Default: NULL port port number. Default: 1978

TokyoTyrant::connectUri

(PECL tokyo_tyrant >= 0.1.0) Connects to a database public TokyoTyrant TokyoTyrant::connectUri ( string $uri ) Connects to a database using an uri Parameters: uri An URI to the database. For example tcp://localhost:1979/ Returns: This method returns the current object and throws TokyoTyrantException on failure.

TokyoTyrant::connect

(PECL tokyo_tyrant >= 0.1.0) Connect to a database public TokyoTyrant TokyoTyrant::connect ( string $host [, int $port = TokyoTyrant::RDBDEF_PORT [, array $options ]] ) Connects to a remote database Parameters: host The hostname port The port. Default: 1978 options Connection options: timeout (def

TokyoTyrant::add

(PECL tokyo_tyrant >= 0.1.0) Adds to a numeric key public number TokyoTyrant::add ( string $key, number $increment [, int $type = 0 ] ) Adds to an int or double value. This increments the value by the given amount and returns the new value. If the key does not exist a new key is created with initial value of the increment parameter. Parameters: key The string key

sybase_unbuffered_query

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Send a Sybase query and do not block resource sybase_unbuffered_query ( string $query, resource $link_identifier [, bool $store_result ] ) sybase_unbuffered_query() sends a query to the currently active database on the server that's associated with the specified link identifier. If the link identifier isn't specified, the last opened link is assumed. If no link is open, the function tries to

sybase_set_message_handler

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Sets the handler called when a server message is raised bool sybase_set_message_handler ( callable $handler [, resource $link_identifier ] ) sybase_set_message_handler() sets a user function to handle messages generated by the server. You may specify the name of a global function, or use an array to specify an object reference and a method name. Parameters:

sybase_select_db

(PHP 4, PHP 5, PHP 7) Selects a Sybase database bool sybase_select_db ( string $database_name [, resource $link_identifier ] ) sybase_select_db() sets the current active database on the server that's associated with the specified link identifier. Every subsequent call to sybase_query() will be made on the active database. Parameters: database_name sybase_select_db() set

sybase_result

(PHP 4, PHP 5, PHP 7) Get result data string sybase_result ( resource $result, int $row, mixed $field ) Returns the contents of the cell at the row and offset in the specified Sybase result set. When working on large result sets, you should consider using one of the functions that fetch an entire row (specified below). As these functions return the contents of multiple cells in one function call, they're MUCH quicker than

sybase_query

(PHP 4, PHP 5, PHP 7) Sends a Sybase query mixed sybase_query ( string $query [, resource $link_identifier ] ) sybase_query() sends a query to the currently active database on the server that's associated with the specified link identifier. Parameters: query sybase_query() sends a query to the currently active database on the server that's associated with the specified li