@supabase/postgrest-js 2.100.0-canary.5 → 2.100.0-canary.6
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.cjs +3 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -15
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +5 -15
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/PostgrestBuilder.ts +1 -1
- package/src/PostgrestClient.ts +1 -1
- package/src/PostgrestQueryBuilder.ts +1 -11
- package/src/select-query-parser/utils.ts +9 -7
- package/src/version.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -47,7 +47,7 @@ var PostgrestBuilder = class {
|
|
|
47
47
|
*
|
|
48
48
|
* @category Database
|
|
49
49
|
*
|
|
50
|
-
* @example
|
|
50
|
+
* @example Creating a Postgrest query builder
|
|
51
51
|
* ```ts
|
|
52
52
|
* import { PostgrestQueryBuilder } from '@supabase/postgrest-js'
|
|
53
53
|
*
|
|
@@ -2889,19 +2889,9 @@ var PostgrestQueryBuilder = class {
|
|
|
2889
2889
|
/**
|
|
2890
2890
|
* Creates a query builder scoped to a Postgres table or view.
|
|
2891
2891
|
*
|
|
2892
|
-
* @example
|
|
2893
|
-
* ```ts
|
|
2894
|
-
* import { PostgrestQueryBuilder } from '@supabase/postgrest-js'
|
|
2895
|
-
*
|
|
2896
|
-
* const query = new PostgrestQueryBuilder(
|
|
2897
|
-
* new URL('https://xyzcompany.supabase.co/rest/v1/users'),
|
|
2898
|
-
* { headers: { apikey: 'public-anon-key' } }
|
|
2899
|
-
* )
|
|
2900
|
-
* ```
|
|
2901
|
-
*
|
|
2902
2892
|
* @category Database
|
|
2903
2893
|
*
|
|
2904
|
-
* @example
|
|
2894
|
+
* @example Creating a Postgrest query builder
|
|
2905
2895
|
* ```ts
|
|
2906
2896
|
* import { PostgrestQueryBuilder } from '@supabase/postgrest-js'
|
|
2907
2897
|
*
|
|
@@ -4488,7 +4478,7 @@ var PostgrestClient = class PostgrestClient {
|
|
|
4488
4478
|
* - A `timeout` option (in milliseconds) can be set to automatically abort requests that take too long.
|
|
4489
4479
|
* - A `urlLengthLimit` option (default: 8000) can be set to control when URL length warnings are included in error messages for aborted requests.
|
|
4490
4480
|
*
|
|
4491
|
-
* @example
|
|
4481
|
+
* @example Creating a Postgrest client
|
|
4492
4482
|
* ```ts
|
|
4493
4483
|
* import { PostgrestClient } from '@supabase/postgrest-js'
|
|
4494
4484
|
*
|