PHP Class duxet\Rethinkdb\Query

显示文件 Open project: duxet/laravel-rethinkdb Class Usage Examples

Protected Properties

Property Type Description
$connection duxet\Rethinkdb\Connection The connection instance.
$query r\ValuedQuery The \r\ValuedQuery instance.

Public Methods

Method Description
__call ( string $method, array $parameters ) : mixed Handle dynamic method calls.
__construct ( duxet\Rethinkdb\Connection $connection ) Constructor.
run ( $query = null )

Private Methods

Method Description
nativeArray ( $val )

Method Details

__call() public method

Handle dynamic method calls.
public __call ( string $method, array $parameters ) : mixed
$method string
$parameters array
return mixed

__construct() public method

Constructor.
public __construct ( duxet\Rethinkdb\Connection $connection )
$connection duxet\Rethinkdb\Connection

run() public method

public run ( $query = null )

Property Details

$connection protected_oe property

The connection instance.
protected Connection,duxet\Rethinkdb $connection
return duxet\Rethinkdb\Connection

$query protected_oe property

The \r\ValuedQuery instance.
protected ValuedQuery,r $query
return r\ValuedQuery