Skip to content

docs: clarify whereNotColumn usage#2808

Open
nickfuryoc wants to merge 1 commit into
Vincit:mainfrom
nickfuryoc:docs/clarify-where-not-column-usage
Open

docs: clarify whereNotColumn usage#2808
nickfuryoc wants to merge 1 commit into
Vincit:mainfrom
nickfuryoc:docs/clarify-where-not-column-usage

Conversation

@nickfuryoc

Copy link
Copy Markdown

Summary\n- Clarifies that whereNotColumn compares column identifiers, not literal values.\n- Points readers to whereNot for column-to-value comparisons.\n- Updates the Knex docs anchor from the generic #where section to #wherecolumn.\n\nRefs #2436.\n\n## Test plan\n- DATABASES=sqlite3 npm run test:fast — 1725 passing, 4 pending.\n- git diff --check — passed.\n\n## Verification\nI also checked Knex SQL generation locally: whereNotColumn({ password: value }) treats value as an identifier, while whereNot('password', value) uses a bound value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant