@suss/sql 0.10.0 → 0.12.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.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ readSqlAccess("SELECT u.email, o.total FROM users u JOIN orders o ON o.user_id =
|
|
|
20
20
|
// [{ table: "users", fields: ["email"], ... }, { table: "orders", fields: ["total"], ... }]
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
A query written as a tagged template becomes readable through `sqlFromParts`, which writes each interpolation as a parameter. What a query interpolates is a value nearly every time, and a parameter is how the statement would
|
|
23
|
+
A query written as a tagged template becomes readable through `sqlFromParts`, which writes each interpolation as a parameter. What a query interpolates is a value nearly every time, and a parameter is how the statement would supply one anyway.
|
|
24
24
|
|
|
25
25
|
It reads Postgres, MySQL, SQLite, and BigQuery. Pass the dialect the way a pack states its store:
|
|
26
26
|
|