payloadcms / payloadcms/payload
[Mongodb] working undocumented features
Open
@zubricks is already working on this.
Since Jan 11, 2026.
- Dominant language
- TypeScript
- Stars
- 44.8k
- Forks
- 4.2k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 53
Description
Documentation Issue
some features works but they are not in documentation, should we use them ! like $push and many more
mongoose adaptor
https://github.com/payloadcms/payload/blob/d288752f689f712006132b11e0c7348b6ff0faa9/packages/db-mongodb/src/updateJobs.ts#L53-L80
Additional Details
this works , but not documented anywhere
payload.update({
collection: 'categories',
id,
data: {
tags: {
$push: someTags,
},
},
})
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.