WatchQueryIndexesOptions
in package
Table of Contents
- $collectionName : string|null
- $scopeName : string|null
- $watchPrimary : bool|null
- build() : WatchQueryIndexesOptions
- Static helper to keep code more readable
- collectionName() : WatchQueryIndexesOptions
- scopeName() : WatchQueryIndexesOptions
- watchPrimary() : WatchQueryIndexesOptions
- Whether to watch the primary index
Properties
$collectionName
private
string|null
$collectionName
= null
$scopeName
private
string|null
$scopeName
= null
$watchPrimary
private
bool|null
$watchPrimary
= null
Methods
build()
Static helper to keep code more readable
public
static build() : WatchQueryIndexesOptions
Tags
Return values
WatchQueryIndexesOptions —collectionName()
public
collectionName(string $collectionName) : WatchQueryIndexesOptions
Parameters
- $collectionName : string
Tags
Return values
WatchQueryIndexesOptions —scopeName()
public
scopeName(string $scopeName) : WatchQueryIndexesOptions
Parameters
- $scopeName : string
Tags
Return values
WatchQueryIndexesOptions —watchPrimary()
Whether to watch the primary index
public
watchPrimary(bool $shouldWatch) : WatchQueryIndexesOptions
Parameters
- $shouldWatch : bool