Skip to content

Commit

Permalink
First version of the new almighty expression builder (kysely-org#381)
Browse files Browse the repository at this point in the history
* First version of the new allmighty expression builder

* Fix typo

Co-authored-by: Toni Villena <tonivj5@Gmail.com>

* fix schema test

* document ExpressionWrapper.as

* Remove recipes from .npmignore

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Make ExpressionWrapper.#node readonly

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Make DefaultQueryCompiler.isMinusOperator protected

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Use block comment

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Use block comment

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Use block comment

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Better argument names in unary-operation-parser

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Doc cleanup

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Fix docs

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Fix docs

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Fix docs

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Fix docs

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* Fix docs

Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>

* rename binary/unary parser methods

* Accept all binary operators in ExpressionBuilder.bin

* Move || and && operators away from comparison operators list

* Move expression builder to expression folder

---------

Co-authored-by: Toni Villena <tonivj5@Gmail.com>
Co-authored-by: Igal Klebanov <igalklebanov@gmail.com>
  • Loading branch information
3 people committed Mar 25, 2023
1 parent daa79f2 commit 343c5f7
Show file tree
Hide file tree
Showing 49 changed files with 1,792 additions and 846 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ assets
docs
example
node_modules
recipes
scripts
site
src
test
.gitignore
Expand Down
3 changes: 3 additions & 0 deletions site/docs/dialects.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ A dialect is the glue between Kysely and the underlying database engine. Check t
| SurrealDB | https://github.com/igalklebanov/kysely-surrealdb |
| AWS RDS support for kysely | https://github.com/serverless-stack/kysely-data-api |
| SingleStore | https://github.com/igalklebanov/kysely-singlestore |
| sqld | https://github.com/libsql/kysely-libsql |
| Neon | https://github.com/seveibar/kysely-neon |
| AWS S3 Select | https://github.com/igalklebanov/kysely-s3-select |
2 changes: 1 addition & 1 deletion src/dialect/mysql/mysql-driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class MysqlConnection implements DatabaseConnection {

async *streamQuery<O>(
compiledQuery: CompiledQuery,
chunkSize: number
_chunkSize: number
): AsyncIterableIterator<QueryResult<O>> {
const stream = this.#rawConnection
.query(compiledQuery.sql, compiledQuery.parameters)
Expand Down
Loading

0 comments on commit 343c5f7

Please sign in to comment.