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
No response
There is a number field named numeric:
numeric
undefined
exists: true
exists: false
Note: the related MongoDB queries seemed correct.
npx create-payload-app@latest
import { CollectionConfig } from 'payload/types' const Buyers: CollectionConfig = { slug: 'buyers', admin: { useAsTitle: 'id', }, fields: [ { name: 'id', type: 'text', required: true, index: true, unique: true, }, { name: 'numeric', type: 'number', required: false, } ], } export default Buyers
2.28
db-mongodb
The text was updated successfully, but these errors were encountered:
number
exists
0586f23
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
Sorry, something went wrong.
🚀 This is included in version v2.30.1
PatrikKozak
Successfully merging a pull request may close this issue.
Link to reproduction
No response
Describe the Bug
There is a number field named
numeric
:undefined
, eitherexists: true
orexists: false
returns it.exists: true
orexists: false
not returns it.Note: the related MongoDB queries seemed correct.
To Reproduce
npx create-payload-app@latest
, select blank project and mongodb adapterPayload Version
2.28
Adapters and Plugins
db-mongodb
The text was updated successfully, but these errors were encountered: