Skip to content
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

fix: handle empty array of queries #123

Merged
merged 1 commit into from Nov 15, 2020

Conversation

ForbesLindesay
Copy link
Owner

No description provided.

@rollingversions
Copy link

rollingversions bot commented Nov 15, 2020

@databases/pg (3.1.0 → 3.1.1)

Bug Fixes

  • Handle empty arrays passed to .query

    If you call db.query([]) it is a no-op and just immediately returns. If you call it on a ConnectionPool, it won't even allocate a connection.

Packages With No Changes

The following packages have no user facing changes, so won't be released:

  • @databases/escape-identifier
  • @databases/expo
  • @databases/migrations-base
  • @databases/mysql
  • @databases/mysql-config
  • @databases/mysql-test
  • @databases/pg-config
  • @databases/pg-connection-string
  • @databases/pg-create
  • @databases/pg-data-type-id
  • @databases/pg-errors
  • @databases/pg-migrations
  • @databases/pg-schema-cli
  • @databases/pg-schema-introspect
  • @databases/pg-schema-print-types
  • @databases/pg-test
  • @databases/pg-typed
  • @databases/push-to-async-iterable
  • @databases/split-sql-query
  • @databases/sql
  • @databases/sqlite
  • @databases/validate-unicode
  • @databases/websql
  • @databases/websql-core
  • @databases/with-container

Edit changelogs

@ForbesLindesay ForbesLindesay merged commit a760c06 into master Nov 15, 2020
@ForbesLindesay ForbesLindesay deleted the fix/handle-empty-query-arrays branch November 15, 2020 14:36
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.

None yet

1 participant