We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add @Capped annotation to support capped collection.
@Capped
This should by default make capped colection, when used without params, ie:
Or take up to two anonymous parameters:
// @Capped(int:max, int:size) @Capped(500, 200000)
Or named parameters:
@Capped(max = 100, size = 200000)
NOTE: According to docs to create capped collection, it must be created explicitly.
db.createCollection("log", { capped : true, size : 5242880, max : 5000 } )
This info should be stored in runtime in php file, similarly as in #59. File must be unique for each db
Perhaps some meta file with __set_state should be used.
__set_state
For consistence annotation should use field capped of type CappedMeta
capped
CappedMeta
The text was updated successfully, but these errors were encountered:
This is connected a bit to #59 as it requires storing some extra data in runtime.
Sorry, something went wrong.
pmaselkowski
No branches or pull requests
Add
@Capped
annotation to support capped collection.This should by default make capped colection, when used without params, ie:
Or take up to two anonymous parameters:
Or named parameters:
NOTE: According to docs to create capped collection, it must be created explicitly.
This info should be stored in runtime in php file, similarly as in #59.
File must be unique for each db
Perhaps some meta file with
__set_state
should be used.For consistence annotation should use field
capped
of typeCappedMeta
The text was updated successfully, but these errors were encountered: