Overview

Namespaces

  • Hook

Classes

  • Client
  • Collection
  • Keys
  • Overview
  • Namespace
  • Class
  • Tree

Class Collection

Namespace: Hook
Located at Hook/Collection.php
Methods summary
public
# __construct( array $options )
protected
# reset( )
public
# create( array $data )
public
# where( mixed $field, mixed $_operation = null, mixed $_value = null, mixed $operation = 'and' )
public
# orWhere( mixed $field, mixed $_operation = null, mixed $_value = null )
public
# get( )
public
# find( mixed $_id )
public
# select( )
public
# with( )
public
# group( )
public
# count( mixed $field = '*' )
public
# max( mixed $field )
public
# min( mixed $field )
public
# avg( mixed $field )
public
# sum( mixed $field )
public
# first( )
public
# firstOrCreate( mixed $data )
public
# sort( mixed $field, mixed $direction = null )
public
# limit( mixed $int )
public
# offset( mixed $int )
public
# channel( mixed $options )
public
# remove( mixed $_id = null )
public
# update( mixed $_id, array $data = null )
public
# increment( mixed $field, mixed $value )
public
# decrement( mixed $field, mixed $value )
public
# updateAll( array $data )
protected
# addWhere( mixed $field, mixed $operation, mixed $value )
protected
# buildQuery( )
Properties summary
protected string $name
#

name

name

protected string $segments
#

segments

segments

protected Hook\Client $client
#

client

client

protected array $wheres
#

wheres

wheres

protected array $options
#

options

options

protected array $ordering
#

ordering

ordering

protected array $group
#

group

group

protected integer $limit
#

limit

limit

protected integer $offset
#

offset

offset

API documentation generated by ApiGen 2.8.0