PHP Rethink QL driver 1.2.0
We are proud to release a new version of the PHP Rethink QL driver.
Changelog
- Implement row functions with greater than and lower than logic operations
- Add row functions with equal and not equal logic operations
- Implement row functions with
and
&or
logic operations - Implement group and ungroup with get field document manipulations
This stable version is fully tested and build upon our coding standards and principles. You can easily integrate this version in your production applications. Version 1.2.0 supports the following features:
method | Version 1.0 | Version 1.1 | Version 1.2 |
---|---|---|---|
Accessing ReQL | |||
r | ✓ | ✓ | ✓ |
connection | ✓ | ✓ | ✓ |
close | ✓ | ✓ | ✓ |
reconnect | ✓ | ✓ | ✓ |
use | ✓ | ✓ | ✓ |
run | ✓ | ✓ | ✓ |
runNoReply | ✓ | ✓ | ✓ |
changes | ✓ | ✓ | ✓ |
noreplyWait | ✓ | ✓ | ✓ |
server | ✓ | ✓ | ✓ |
optArg | |||
Cursors | |||
next | ✓ | ✓ | ✓ |
for | ✓ | ✓ | ✓ |
toList | ✓ | ✓ | ✓ |
close | ✓ | ✓ | ✓ |
Manipulating databases | |||
dbCreate | ✓ | ✓ | ✓ |
dbDrop | ✓ | ✓ | ✓ |
dbList | ✓ | ✓ | ✓ |
Manipulating tables | |||
tableCreate | ✓ | ✓ | ✓ |
tableDrop | ✓ | ✓ | ✓ |
tableList | ✓ | ✓ | ✓ |
indexCreate | ✓ | ✓ | |
indexDrop | ✓ | ✓ | |
indexList | ✓ | ✓ | |
indexRename | ✓ | ✓ | |
indexStatus | |||
indexWait | |||
Writing data | |||
insert | ✓ | ✓ | ✓ |
update | ✓ | ✓ | ✓ |
replace | ✓ | ✓ | ✓ |
delete | ✓ | ✓ | ✓ |
sync | |||
Selecting data | |||
db | ✓ | ✓ | ✓ |
table | ✓ | ✓ | ✓ |
get | ✓ | ✓ | ✓ |
getAll | ✓ | ✓ | |
between | |||
filter | ✓ | ✓ | ✓ |
Joins | |||
innerJoin | |||
outerJoin | |||
eqJoin | |||
zip | |||
Transformations | |||
map | |||
withFields | |||
concatMap | |||
orderBy | ✓ | ✓ | |
skip | ✓ | ✓ | |
limit | ✓ | ✓ | |
slice | |||
nth | |||
offsetsOf | |||
isEmpty | ✓ | ✓ | |
union | |||
sample | |||
Aggregation | |||
group | ✓ | ||
ungroup | ✓ | ||
reduce | |||
fold | |||
count | ✓ | ✓ | ✓ |
sum | ✓ | ✓ | |
avg | ✓ | ✓ | |
min | ✓ | ✓ | |
max | ✓ | ✓ | |
distinct | |||
contains | |||
Document manipulation | |||
row | ✓ | ||
pluck | |||
without | |||
merge | |||
append | |||
prepend | |||
difference | |||
setInsert | |||
setUnion | |||
setIntersection | |||
setDifference | |||
() (bracket) | |||
getField | |||
hasFields | |||
insertAt | |||
spliceAt | |||
deleteAt | |||
changeAt | |||
keys | |||
values | |||
literal | |||
object | |||
String manipulation | |||
match | |||
split | |||
upcase | |||
downcase | |||
Math and logic | |||
add | |||
sub | |||
mul | |||
div | |||
mod | |||
and | ✓ | ||
or | ✓ | ||
eq | ✓ | ||
ne | ✓ | ||
gt | ✓ | ||
ge | |||
lt | ✓ | ||
le | |||
not | |||
random | |||
round | |||
ceil | |||
floor | |||
Dates and times | |||
now | |||
time | |||
epochTime | |||
ISO8601 | |||
inTimezone | |||
timezone | |||
during | |||
date | |||
timeOfDay | |||
year | |||
month | |||
day | |||
dayOfWeek | |||
dayOfYear | |||
hours | |||
minutes | |||
seconds | |||
toISO8601 | |||
toEpochTime | |||
Control structures | |||
array | |||
hashMap | |||
args | |||
binary | |||
do | |||
branch | |||
forEach | |||
range | |||
error | |||
default | |||
expr | |||
js | |||
coerceTo | |||
typeOf | |||
info | |||
json | |||
"toJsonString, toJSON" | |||
http | |||
uuid | |||
Geospatial commands | |||
circle | |||
distance | |||
fill | |||
geojson | |||
toGeojson | |||
getIntersecting | |||
getNearest | |||
includes | |||
intersects | |||
line | |||
point | |||
polygon | |||
polygonSub | |||
Administration | |||
grant | |||
config | |||
rebalance | |||
reconfigure | |||
status | |||
wait |