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
This article on storage optimization talks about using the _id field explicitly to reduce storage space.
I have the following model:
class Game include Candy::Piece end
When I try to do:
Game.new(_id: 1, name: 'Pong')
I get the error:
Mongo::OperationFailure: Mod on _id not allowed
Am I doing something wrong, or is this not supported by Candy? Is there a workaround?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This article on storage optimization talks about using the _id field explicitly to reduce storage space.
I have the following model:
When I try to do:
I get the error:
Am I doing something wrong, or is this not supported by Candy? Is there a workaround?
The text was updated successfully, but these errors were encountered: