-
-
Notifications
You must be signed in to change notification settings - Fork 739
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
Update setters for update statement together with enum types hadnling #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AndriiSherman
added a commit
that referenced
this pull request
Dec 8, 2021
* Move types pg types to prod dependencies * Change version to 0.9.0 * Add type for every exception * Update setters for update statement together with enum types hadnling (#1) * Add InArray and Like queries * Setters now handled as object to update; * Enum types will be setup independently from tables and just be reused Co-authored-by: AndriiSherman <sherman@lambda.direct> * 0.9.1 * Update README docs (#2) * Feature/last updates (#3) * 0.9.1 * Add 5 joins * Add distinct for select queries * Return object on delete * Add raw query builder * Add serializer for drizzle-kit support * 0.9.2 * Add serial to serializer * 0.9.3 * Add onConstraint for serializer * 0.9.4 * Move ON DELETE and ON UPDATE to references * 0.9.5 * Add foreignKeyName to serializer * 0.9.6 * Improvements (#4) * 0.9.6 * Add all possible pverloads for decimal column type * Add possibility to create custom update statements, imstead of just setting values * Change OnUpdate and OnDelete API * 0.9.7 * onContrsaint as optional
AndriiSherman
added a commit
that referenced
this pull request
Dec 27, 2021
* Move types pg types to prod dependencies * Change version to 0.9.0 * Add type for every exception * Update setters for update statement together with enum types hadnling (#1) * Add InArray and Like queries * Setters now handled as object to update; * Enum types will be setup independently from tables and just be reused Co-authored-by: AndriiSherman <sherman@lambda.direct> * 0.9.1 * Update README docs (#2) * Feature/last updates (#3) * 0.9.1 * Add 5 joins * Add distinct for select queries * Return object on delete * Add raw query builder * Add serializer for drizzle-kit support * 0.9.2 * Add serial to serializer * 0.9.3 * Add onConstraint for serializer * 0.9.4 * Move ON DELETE and ON UPDATE to references * 0.9.5 * Add foreignKeyName to serializer * 0.9.6 * Improvements (#4) * 0.9.6 * Add all possible pverloads for decimal column type * Add possibility to create custom update statements, imstead of just setting values * Change OnUpdate and OnDelete API * 0.9.7 * onContrsaint as optional * 0.9.8 * Fix serializer key * 0.9.9 * 0.9.10 * Fix Nan exception on mapping * Add smallInt type * 0.9.11 * Export ExtractModel type * 0.9.12 * Feature/knex (#6) * 0.9.12 * Add Session interface for extensions * 0.9.13 * 0.9.14 * Export ISession * 0.9.15 * Release/0.9.16 (#7) * Add migrator logic * 0.9.15 * Remove autoincrement field and add serial for postgres * Move notNull to method instead of column type * Add timestamp with timezone type * Add default value for timestamp/time/timestamptz * Add big integers type separating for 2^53 and 2^64 difference between javascript and postgres * Fix migrations table * 0.9.16 * Add migrator changelog+readme with migrator function * Add serializer to introspect database to json snapshot (#8)
AndriiSherman
added a commit
that referenced
this pull request
Jan 27, 2022
* Move types pg types to prod dependencies * Change version to 0.9.0 * Add type for every exception * Update setters for update statement together with enum types hadnling (#1) * Add InArray and Like queries * Setters now handled as object to update; * Enum types will be setup independently from tables and just be reused Co-authored-by: AndriiSherman <sherman@lambda.direct> * 0.9.1 * Update README docs (#2) * Feature/last updates (#3) * 0.9.1 * Add 5 joins * Add distinct for select queries * Return object on delete * Add raw query builder * Add serializer for drizzle-kit support * 0.9.2 * Add serial to serializer * 0.9.3 * Add onConstraint for serializer * 0.9.4 * Move ON DELETE and ON UPDATE to references * 0.9.5 * Add foreignKeyName to serializer * 0.9.6 * Improvements (#4) * 0.9.6 * Add all possible pverloads for decimal column type * Add possibility to create custom update statements, imstead of just setting values * Change OnUpdate and OnDelete API * 0.9.7 * onContrsaint as optional * 0.9.8 * Fix serializer key * 0.9.9 * 0.9.10 * Fix Nan exception on mapping * Add smallInt type * 0.9.11 * Export ExtractModel type * 0.9.12 * Feature/knex (#6) * 0.9.12 * Add Session interface for extensions * 0.9.13 * 0.9.14 * Export ISession * 0.9.15 * Release/0.9.16 (#7) * Add migrator logic * 0.9.15 * Remove autoincrement field and add serial for postgres * Move notNull to method instead of column type * Add timestamp with timezone type * Add default value for timestamp/time/timestamptz * Add big integers type separating for 2^53 and 2^64 difference between javascript and postgres * Fix migrations table * 0.9.16 * Add migrator changelog+readme with migrator function * Add serializer to introspect database to json snapshot (#8) * Fix `any` type returning from `.notNull()` and `.primaryKey()` functions * 0.9.18 * Fix querying be Date * 0.9.19 * Add Changelog for version 0.9.19 * Feature/partial select (#10) * Partial select proof-of-concept * Add partial select first overview types * Add all partial selects types and handling for partials * Add self join possibility 1. Fix Table definition 2. Fix query generation * Fix wrong type as undefined to be returned; Move first to findOne; * Fix documentation calls * Fix migrator handling * Add README documentation and CHANGELOG for 0.10.0 release
AndriiSherman
added a commit
that referenced
this pull request
Jan 27, 2022
* Move types pg types to prod dependencies * Change version to 0.9.0 * Add type for every exception * Update setters for update statement together with enum types hadnling (#1) * Add InArray and Like queries * Setters now handled as object to update; * Enum types will be setup independently from tables and just be reused Co-authored-by: AndriiSherman <sherman@lambda.direct> * 0.9.1 * Update README docs (#2) * Feature/last updates (#3) * 0.9.1 * Add 5 joins * Add distinct for select queries * Return object on delete * Add raw query builder * Add serializer for drizzle-kit support * 0.9.2 * Add serial to serializer * 0.9.3 * Add onConstraint for serializer * 0.9.4 * Move ON DELETE and ON UPDATE to references * 0.9.5 * Add foreignKeyName to serializer * 0.9.6 * Improvements (#4) * 0.9.6 * Add all possible pverloads for decimal column type * Add possibility to create custom update statements, imstead of just setting values * Change OnUpdate and OnDelete API * 0.9.7 * onContrsaint as optional * 0.9.8 * Fix serializer key * 0.9.9 * 0.9.10 * Fix Nan exception on mapping * Add smallInt type * 0.9.11 * Export ExtractModel type * 0.9.12 * Feature/knex (#6) * 0.9.12 * Add Session interface for extensions * 0.9.13 * 0.9.14 * Export ISession * 0.9.15 * Release/0.9.16 (#7) * Add migrator logic * 0.9.15 * Remove autoincrement field and add serial for postgres * Move notNull to method instead of column type * Add timestamp with timezone type * Add default value for timestamp/time/timestamptz * Add big integers type separating for 2^53 and 2^64 difference between javascript and postgres * Fix migrations table * 0.9.16 * Add migrator changelog+readme with migrator function * Add serializer to introspect database to json snapshot (#8) * Fix `any` type returning from `.notNull()` and `.primaryKey()` functions * 0.9.18 * Fix querying be Date * 0.9.19 * Add Changelog for version 0.9.19 * Feature/partial select (#10) * Partial select proof-of-concept * Add partial select first overview types * Add all partial selects types and handling for partials * Add self join possibility 1. Fix Table definition 2. Fix query generation * Fix wrong type as undefined to be returned; Move first to findOne; * Fix documentation calls * Fix migrator handling * Add README documentation and CHANGELOG for 0.10.0 release * 0.10.0
dankochetov
pushed a commit
that referenced
this pull request
Oct 20, 2022
* Add types for join and partial selecting * Update test.ts with examples after merging * Add select types with joins and partial
dankochetov
pushed a commit
that referenced
this pull request
Apr 23, 2024
Add date mode for text data type in SQLite
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Setters now handled as object to update;
Enum types will be setup independently from tables and just be reused