drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: eq() argument order overload

Open
#2,314 0 comments 0 reactions 0 assignees View on GitHub
enhancement qb/crud
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

Currently, the eq function requires a specific argument order: (Column, value). This is fairly unintuitive to most programming/logic, where equate operators are commutative (i.e. order agnostic).

This would obviously be a very easy change to implement, so it's more of a question if this is something the team thinks should be added.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.