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
#[model(...)]
#[derive(Model)]
#[model]
#[model(mongo(collection = "..."))]
id
Id<#ident, ? impl IdGuard>
#[serde(rename = "_id")]
#[serde(skip_serializing_if = "musty::prelude::Id::is_none")]
User::filter().id().eq(1)
.into()
The text was updated successfully, but these errors were encountered:
jonahseguin
No branches or pull requests
#[model]
attribute macro to#[derive(Model)]
derive macro#[model(mongo(collection = "..."))]
attribute helper to the derive macroid
field to have typeId<#ident, ? impl IdGuard>
#[serde(rename = "_id")]
toid
field for mongo model structs#[serde(skip_serializing_if = "musty::prelude::Id::is_none")]
toid
field for all model structsUser::filter().id().eq(1)
without having to call.into()
on the value)The text was updated successfully, but these errors were encountered: