wechat-miniprogram / wechat-miniprogram/api-typings
云数据库报错“Property 'update' does not exist on type 'Query'.”
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 803
- Forks
- 117
- Avg merge
- 24m
- Merged PRs (30d)
- 1
Description
拷贝的官方文档
await db.collection('todos').where({
done: false
}).update({
data: {
progress: 1
}})
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by locating the TypeScript definition for Query and reproduce the documented chained where(...).update(...) call shown in the issue. Compare the available Query methods with the official example; done when the example type-checks without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, database
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100