-
-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: New $count API error with @neondatabase/serverless #3081
Labels
bug
Something isn't working
Comments
Sukairo-02
added a commit
that referenced
this issue
Oct 9, 2024
…n's lack of own count procedure (issue #3081)
AndriiSherman
added a commit
that referenced
this issue
Oct 15, 2024
* Check for Pg: -added check constraints to migrate, pull, push - added tests * added check constraints to mysql added some tests * - added sqlite, turso checks - added and updated tests * removed console.log merged beta to branch * rewrote introspect tests added introspect tests for checks * added progress callbacks for introspect with checks * updated tests for introspect * Implement limit and order by in MySQL * Add limit and order by to update and delete in SQLite * Format * Update SQLite test * Format * added postgresql generate handling for views * added support for views and materialized views in postgres (push + introspect + generate) * fixed build errors * added alter for using * added psql rename views and change schema handlings * added generate for mysql views * added introspect for mysql views * Added sqlite and libsql view handling * added all tests for all dialect views. updated introspect tests * Updated introspect tests * minor fixes * fixed numeric introspect in pg * fixed introspect numeric in pg * fixed introspect numeric pg * fixed sqlite + libsql alter existing handling * updated psql introspect + sqlite introspect for views * added progress callback to views. changed query columns for materialized views * updated pg introspect columns query. updated mysql test. * Updated enum handling for generate. Adde drop, add value, rename, set schema. Updated tests * made test for enum ordering for push * Added neon-serverless (websocket) tests, fixed neon-serverless session's lack of own count procedure (issue #3081) * fixed lockfile * Added leftover data deletion, imported table from common instead of re-creating locally * Fixed lack of custom schema cleanup on locally remade skipped tests of neon-serverless * squash add + drop enum values to drop only * Upgrade to TS 5.6.3 * removed commented code * Remove global set for node-postgres, neon and vercel; move to on per-query * Fix import * Fix test * Fix view tests * Check tests with docker * Update tests * Skip sqljs * Add ignore on neon * removed console logs in tests * Updated drizzle constructors, removed monodriver * Fixed type error * Fixed sqlite instance checks * Fixed mysql rename view sql statement * Fixed tests, added MockDriver & mock support for reworked drivers * Added `drizzle.mock()`, reworked replicas tests * Fixed neon client identification * Removed `bun-sqlite` from import tests * Added missing connectionString param * Fixed broken connection, added missing cases * Updated versions for orm and kit --------- Co-authored-by: Aleksandr Sherman <aleksandrserman@gmail.com> Co-authored-by: Mario564 <ka.mario564@gmail.com> Co-authored-by: Sukairo-02 <sreka9056@gmail.com> Co-authored-by: Sergey Reka <71607800+Sukairo-02@users.noreply.github.com>
should be fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of
drizzle-orm
are you using?0.34.1
What version of
drizzle-kit
are you using?0.25.0
Describe the Bug
I tried out the new $count API and it works fine with a local postgres server. When running against a neon database, I am encountering the following error:
Expected behavior
The count should be returned. The exact same code works when using
postgres
locally.Environment & setup
No response
The text was updated successfully, but these errors were encountered: