@treeline-money/plugin-sdk 26.2.1601 → 26.3.1201
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/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -77,8 +77,8 @@ export type QueryParam = string | number | boolean | null | string[] | number[];
|
|
|
77
77
|
* }
|
|
78
78
|
* const { sdk }: Props = $props();
|
|
79
79
|
*
|
|
80
|
-
* // Query with parameterized values (
|
|
81
|
-
* const transactions = await sdk.
|
|
80
|
+
* // Query with parameterized values (returns objects keyed by column name)
|
|
81
|
+
* const transactions = await sdk.sql(
|
|
82
82
|
* 'SELECT * FROM transactions WHERE amount > ? AND description LIKE ?',
|
|
83
83
|
* [100, '%coffee%']
|
|
84
84
|
* );
|