CollectionManager
Table of Contents
getScope() | ScopeSpec | |
---|---|---|
getAllScopes() | array | |
createScope() | mixed | |
dropScope() | mixed | |
createCollection() | mixed | |
dropCollection() | mixed |
Methods
getScope()
public
getScope(
$name :
string
)
: ScopeSpec
Parameters
- $name : string
Return values
ScopeSpecgetAllScopes()
public
getAllScopes(
)
: array
Return values
arraycreateScope()
public
createScope(
$name :
string
)
: mixed
Parameters
- $name : string
Return values
mixeddropScope()
public
dropScope(
$name :
string
)
: mixed
Parameters
- $name : string
Return values
mixedcreateCollection()
public
createCollection(
$collection :
CollectionSpec
)
: mixed
Parameters
- $collection : CollectionSpec
Return values
mixeddropCollection()
public
dropCollection(
$collection :
CollectionSpec
)
: mixed
Parameters
- $collection : CollectionSpec