sqlx-ts 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
  3. package/sqlx-ts +0 -0
package/README.md CHANGED
@@ -143,7 +143,7 @@ $ curl -LSfs https://jasonshin.github.io/sqlx-ts/install.sh | \
143
143
 
144
144
  ### sqlx-ts is not an ORM!
145
145
 
146
- sqlx-ts supports **compile-time checked queries** and **generated types against SQLs**. It does not, however, do this by providing DSL (domain-specific language) for building queries. Instead, it provides macros that take regular SQL as input and ensure that it is valid against the target database. The way it works is that sqlx-ts connects to your local or development database at compile-time and have database itself to verify the queries, also generate types based on information_schema. This can have many benefits that typical ORMs cannot provide
146
+ sqlx-ts supports **compile-time checked queries** and **generated types against SQLs**. It does not, however, do this by providing DSL (domain-specific language) for building queries. Instead, it provides a macro (almost) that take regular SQL as input and ensures that it is valid against the target database. The way it works is that sqlx-ts connects to your local or development database at compile-time and have database itself to verify the queries, also generate types based on information_schema. This can have many benefits that typical ORMs cannot provide
147
147
  - Since sqlx-ts simply sends the queries back to the DB, almost any SQL syntax can be used in sqlx-ts (including things added by database extensions)
148
148
  - You can easily optimize the queries as the SQLs are not built using a query-builder or an ORM interface
149
149
  - The generated types work well with almost any database driver or even ORMs if they have good typescript support (that allows you to override input and output types)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sqlx-ts",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "sqlx-ts ensures your raw SQLs are compile-time checked",
5
5
  "main": "dist/index.js",
6
6
  "maintainers": [
package/sqlx-ts CHANGED
Binary file