Handle with other operators besides =
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- postgres, typescript
Research direction
No file, test, or entry point is named. Start by locating the query builder and existing find implementation, then compare current equality handling with the proposed Not and Between operator API. Done means the operator design is settled and query generation behavior is covered.
Written by the indexing model from the issue text.
Description
We can use raw SQL but would be nice something less handful
SELECT * FROM users WHERE id != "bla"
Something like that:
Foo.find({ name: { type: NOT, value: "James" } })
@fakenickels idea:
Foo.find({ name: Not("James") })
Not(Between (2))
A class from Operator, so we can switch on top
So we can have Not, Equal, Between
And in the query builder we detect and add the correspondent query
More ideas?
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from Astrocoders/postgres-orm
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Astrocoders/postgres-orm#12 ·
-
Add basic test suiteMay be free again @fakenickels claimed this 2564 days ago, and no pull request is open. Open
Astrocoders/postgres-orm#10 · 1 assignee ·
All issues in Astrocoders/postgres-orm
Similar issues
-
[Bug]: Server git tests sign fixture commits with the developer's key when run from the repo rootOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
melgarafael/DeskcommCRM#2657 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
MystenLabs/MemWal#1163 · 2 comments ·
Maintainers usually reply within 1 day
-
Mondriaan
Difficulty 1/5 Under an hour Newbie friendliness 88/100
knaw-huc/textannoviz#709 ·
Maintainers usually reply within 1 day
-
billion-context-pi
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ranxianglei/billion-context#2521 · 3 comments ·
Maintainers usually reply within 1 day