Open Issues Need Help
View All on GitHubAI Summary: Analyze user feedback on the 'drizzle-plus' library for Drizzle ORM, focusing on feature usage, desired additions, areas for improvement, and adoption barriers. The analysis should be based on responses to a request for feedback, considering both direct comments and reactions.
A collection of useful utilities and extensions for Drizzle ORM
AI Summary: Implement JSON array slicing functionality for Postgres, MySQL, and SQLite databases within the drizzle-plus library. This involves creating functions that handle array slicing using database-specific functions (e.g., `jsonb_array_elements` for Postgres) and ensuring compatibility across different database systems. The implementation should be efficient and handle edge cases appropriately.
A collection of useful utilities and extensions for Drizzle ORM
AI Summary: Implement a new `$where()` method for Drizzle ORM's query builder. This method should accept a `where` clause (similar to `db.query.findMany`), but instead of executing a query, it should return a `SQL` instance usable with `db.select()`, `db.update()`, etc. Internally, it will utilize the existing `relationsFilterToSQL` function for SQL generation, primarily focusing on providing type safety and auto-completion for the where clause.
A collection of useful utilities and extensions for Drizzle ORM
AI Summary: Implement MySQL support for the `upsert()` method in the `drizzle-plus` library, accounting for MySQL's unique syntax and the lack of a `returning()` method (using `$returningId()` instead). This involves adapting the existing Postgres/SQLite implementations to work correctly with MySQL's `ON DUPLICATE KEY UPDATE` mechanism.
A collection of useful utilities and extensions for Drizzle ORM
AI Summary: The task involves investigating whether Postgres and MySQL support a blob-like argument for the `length()` function. If not, the task requires creating dialect-specific implementations of the `length()` function for SQLite, Postgres, and MySQL, ensuring correct typing, and submitting a pull request.
A collection of useful utilities and extensions for Drizzle ORM