\JSONDB\QueryResultObject

Class QueryResultObject

Summary

Properties

$result

$result : array
Description The result
Type array

Methods

__construct()

__construct(array  $result_array)

QueryResultObject __constructor.

Parameters
array $result_array

__get()

__get(string $name) : mixed

Returns a row value if the given row name exist in the result.

Parameters
string $name
Throws

\JSONDB\Exception

Returns

mixed

_setResult()

_setResult(array  $result)

Sets the result to use.

Parameters
array $result