Bucket
in package
implements
BucketInterface
Interfaces, Classes, Traits and Enums
Table of Contents
- $client : Client
- $name : string
- __construct() : mixed
- collection() : Collection
- collections() : CollectionManager
- defaultCollection() : Collection
- defaultScope() : Scope
- name() : string
- scope() : Scope
- viewQuery() : ViewResult
Properties
$client
private
Client
$client
$name
private
string
$name
Methods
__construct()
public
__construct(Client $client, string $name) : mixed
Parameters
- $client : Client
- $name : string
Return values
mixed —collection()
public
collection(string $name) : Collection
Parameters
- $name : string
Return values
Collection —collections()
public
collections() : CollectionManager
Return values
CollectionManager —defaultCollection()
public
defaultCollection() : Collection
Return values
Collection —defaultScope()
public
defaultScope() : Scope
Return values
Scope —name()
public
name() : string
Return values
string —scope()
public
scope(string $name) : Scope
Parameters
- $name : string
Return values
Scope —viewQuery()
public
viewQuery(string $designDoc, string $viewName[, ViewOptions|null $options = null ]) : ViewResult
Parameters
- $designDoc : string
- $viewName : string
- $options : ViewOptions|null = null