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

↗️ [patch](deps): bump drizzle-orm from 0.36.4 to 0.38.3 #721

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

Bumps drizzle-orm from 0.36.4 to 0.38.3.

Release notes

Sourced from drizzle-orm's releases.

0.38.3

  • Fix incorrect deprecation detection for table declarations

0.38.2

New features

USE INDEX, FORCE INDEX and IGNORE INDEX for MySQL

In MySQL, the statements USE INDEX, FORCE INDEX, and IGNORE INDEX are hints used in SQL queries to influence how the query optimizer selects indexes. These hints provide fine-grained control over index usage, helping optimize performance when the default behavior of the optimizer is not ideal.

Use Index

The USE INDEX hint suggests to the optimizer which indexes to consider when processing the query. The optimizer is not forced to use these indexes but will prioritize them if they are suitable.

export const users = mysqlTable('users', {
  id: int('id').primaryKey(),
  name: varchar('name', { length: 100 }).notNull(),
}, () => [usersTableNameIndex]);
const usersTableNameIndex = index('users_name_index').on(users.name);
await db.select()
.from(users, { useIndex: usersTableNameIndex })
.where(eq(users.name, 'David'));

Ignore Index

The IGNORE INDEX hint tells the optimizer to avoid using specific indexes for the query. MySQL will consider all other indexes (if any) or perform a full table scan if necessary.

export const users = mysqlTable('users', {
  id: int('id').primaryKey(),
  name: varchar('name', { length: 100 }).notNull(),
}, () => [usersTableNameIndex]);
const usersTableNameIndex = index('users_name_index').on(users.name);
await db.select()
.from(users, { ignoreIndex: usersTableNameIndex })
.where(eq(users.name, 'David'));

Force Index

The FORCE INDEX hint forces the optimizer to use the specified index(es) for the query. If the specified index cannot be used, MySQL will not fall back to other indexes; it might resort to a full table scan instead.

export const users = mysqlTable('users', {
</tr></table> 

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Update dependencies label Jan 6, 2025
@github-actions github-actions bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from e1da8ec to 41c5824 Compare January 6, 2025 21:00
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from 41c5824 to 2274120 Compare January 7, 2025 10:01
@github-actions github-actions bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from 2274120 to 877c377 Compare January 7, 2025 10:01
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from 877c377 to fc148f9 Compare January 7, 2025 10:02
@github-actions github-actions bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from fc148f9 to d2b6d58 Compare January 7, 2025 10:03
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from d2b6d58 to 79e9e0c Compare January 7, 2025 10:08
@github-actions github-actions bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from 79e9e0c to ea2f8fb Compare January 7, 2025 10:09
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from ea2f8fb to fe6dca3 Compare January 7, 2025 10:09
@github-actions github-actions bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from fe6dca3 to 6750b55 Compare January 7, 2025 10:10
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from 6750b55 to aad57ad Compare January 7, 2025 14:46
@github-actions github-actions bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from aad57ad to f84ef76 Compare January 7, 2025 14:47
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from f84ef76 to 3091f4d Compare January 7, 2025 14:47
@github-actions github-actions bot force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from 3091f4d to fbdc896 Compare January 7, 2025 14:48
Bumps [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) from 0.36.4 to 0.38.3.
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](drizzle-team/drizzle-orm@0.36.4...0.38.3)

---
updated-dependencies:
- dependency-name: drizzle-orm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@douglasduteil douglasduteil force-pushed the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch from fbdc896 to 364f121 Compare January 7, 2025 15:15
@douglasduteil
Copy link
Member

@dependabot rebase.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 20, 2025

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@douglasduteil
Copy link
Member

@dependabot recreate.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 20, 2025

Superseded by #738.

@dependabot dependabot bot closed this Jan 20, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/drizzle-orm-0.38.3 branch January 20, 2025 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant