Download the PHP package th3mouk/rethinkdb-translator without Composer
On this page you can find all versions of the php package th3mouk/rethinkdb-translator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download th3mouk/rethinkdb-translator
More information about th3mouk/rethinkdb-translator
Files in th3mouk/rethinkdb-translator
Download th3mouk/rethinkdb-translator
More information about th3mouk/rethinkdb-translator
Files in th3mouk/rethinkdb-translator
Vendor th3mouk
Package rethinkdb-translator
Short Description Convert cursor and array objects to associative array
License MIT
Package rethinkdb-translator
Short Description Convert cursor and array objects to associative array
License MIT
Please rate this library. Is it a good library?
Informations about the package rethinkdb-translator
RethinkDB Translator
This PHP library providing a simple way to translate the result of danielmewes/php-rql
library.
Installation
composer require th3mouk/rethinkdb-translator
Usage
It exists three transformations:
Translate::cursorToAssociativeArray
Translate::arrayObjectToAssociativeArray
Translate::arrayOfArrayObjectToAssociativeArray
Options
You can pass an array of options to each of the available methods, here are the available options :
Option | Description | Value | Default |
---|---|---|---|
dateTimeToString | Should the dateTime instances be converted to strings (ISO8601) | boolean | true |
An example :
Please
Feel free to improve this library.
All versions of rethinkdb-translator with dependencies
PHP Build Version
Package Version
Requires
danielmewes/php-rql Version
^2.3
The package th3mouk/rethinkdb-translator contains the following files
Loading the files please wait ....