PHP Class r\Connection

Inheritance: extends DatumConverter
Afficher le fichier Open project: danielmewes/php-rql Class Usage Examples

Méthodes publiques

Свойство Type Description
$defaultDbName

Méthodes publiques

Méthode Description
__construct ( $optsOrHost = null, $port = null, $db = null, $apiKey = null, $timeout = null )
__destruct ( )
close ( $noreplyWait = true )
continueQuery ( $token )
isOpen ( )
noreplyWait ( )
reconnect ( $noreplyWait = true )
run ( r\Query $query, $options = [], &$profile = '' )
server ( )
setTimeout ( $timeout )
stopQuery ( $token )
useDb ( $dbName )

Private Methods

Méthode Description
applyTimeout ( $timeout )
checkResponse ( $response, $responseToken, $token, $query = null )
connect ( )
convertOptions ( $options )
createCursorFromResponse ( $response, $token, $notes, $toNativeOptions )
createDatumFromResponse ( $response )
generateToken ( )
receiveResponse ( $token, $query = null, $noChecks = false )
receiveStr ( $length )
sendQuery ( $token, $json )
sendStr ( $s )

Method Details

__construct() public méthode

public __construct ( $optsOrHost = null, $port = null, $db = null, $apiKey = null, $timeout = null )

__destruct() public méthode

public __destruct ( )

close() public méthode

public close ( $noreplyWait = true )

continueQuery() public méthode

public continueQuery ( $token )

isOpen() public méthode

public isOpen ( )

noreplyWait() public méthode

public noreplyWait ( )

reconnect() public méthode

public reconnect ( $noreplyWait = true )

run() public méthode

public run ( r\Query $query, $options = [], &$profile = '' )
$query r\Query

server() public méthode

public server ( )

setTimeout() public méthode

public setTimeout ( $timeout )

stopQuery() public méthode

public stopQuery ( $token )

useDb() public méthode

public useDb ( $dbName )

Property Details

$defaultDbName public_oe property

public $defaultDbName