메소드 |
설명 |
|
__construct ( string $path = ":memory:", array $options = [] ) |
Constructor |
|
__get ( $collection ) |
|
|
callCriteriaFunction ( string $id, array $document ) : boolean |
Execute registred criteria function |
|
createCollection ( string $name ) |
Create a collection |
|
drop ( ) |
Drop database |
|
dropCollection ( string $name ) |
Drop a collection |
|
getCollectionNames ( ) : array |
Get all collection names in the database |
|
listCollections ( ) : array |
Get all collections in the database |
|
registerCriteriaFunction ( mixed $criteria ) : mixed |
Register Criteria function |
|
selectCollection ( string $name ) : object |
Select collection |
|
vacuum ( ) |
Vacuum database |
|