bitemyapp / bitemyapp/esqueleto
How to render an UPDATE query?
- Dominant language
- Haskell
- Stars
- 399
- Forks
- 107
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 1
Description
[`renderQueryUpdate`](https://hackage.haskell.org/package/esqueleto-3.5.11.2/docs/Database-Esqueleto-Internal-Internal.html#v:renderQueryUpdate) expects `SqlQuery a` to render.
[`update`](https://hackage.haskell.org/package/esqueleto-3.5.11.2/docs/Database-Esqueleto-Experimental.html#v:update) (and family) doesn't work directly with `SqlQuery a`, they accept a function that returns it.
So, if I have a buggy `update _` query, how do I render it?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked renderQueryUpdate and update documentation in the Esqueleto API references, then compare the types of update and its function-based query argument. Done would be a documented, supported way to render an UPDATE query built with update, or a clear explanation that the API does not provide one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- databases
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100