Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Handle with other operators besides =

Open
#7 2 comments 0 reactions 0 assignees View on GitHub

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
Domain
backend, database

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

discussion enhancement

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Astrocoders/postgres-orm

All issues in Astrocoders/postgres-orm

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.