@ronin/compiler 0.10.3-leo-ron-1083-experimental-220 → 0.10.3-leo-ron-1083-experimental-222
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -65,7 +65,7 @@ Once the RONIN queries have been compiled down to SQL statements, the statements
|
|
65
65
|
executed and their results can be formatted by the compiler as well:
|
66
66
|
|
67
67
|
```typescript
|
68
|
-
// Passing `rawResults` (rows being of arrays of values) provided by the database
|
68
|
+
// Passing `rawResults` (rows being of arrays of values) provided by the database (ideal)
|
69
69
|
const results: Array<Result> = transaction.formatResults(rawResults);
|
70
70
|
|
71
71
|
// Passing `objectResults` (rows being of objects) provided by a driver
|
package/dist/index.js
CHANGED
@@ -1606,7 +1606,7 @@ var Transaction = class {
|
|
1606
1606
|
* instead, this option should be set to `false`.
|
1607
1607
|
*
|
1608
1608
|
* @returns A list of formatted RONIN results, where each result is either a single
|
1609
|
-
* RONIN record, an array of RONIN records, or a count result.
|
1609
|
+
* RONIN record, an array of RONIN records, or a RONIN count result.
|
1610
1610
|
*/
|
1611
1611
|
formatResults(results, raw = true) {
|
1612
1612
|
const relevantResults = results.filter((_, index) => {
|
package/package.json
CHANGED