Skip to content

Commit 197b4d2

Browse files
dshukertjrsoedirgo
andauthored
fix: add link on how to enable explain on the explain() method (#507)
* add link on how to enable explain on the explain() method * Update src/PostgrestTransformBuilder.ts Co-authored-by: Tyler <[email protected]> * keep docs link --------- Co-authored-by: Bobbie Soedirgo <[email protected]>
1 parent f91aa29 commit 197b4d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/PostgrestTransformBuilder.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ export default class PostgrestTransformBuilder<
234234
/**
235235
* Return `data` as the EXPLAIN plan for the query.
236236
*
237+
* You need to enable the
238+
* [db_plan_enabled](https://supabase.com/docs/guides/database/debugging-performance#enabling-explain)
239+
* setting before using this method.
240+
*
237241
* @param options - Named parameters
238242
*
239243
* @param options.analyze - If `true`, the query will be executed and the

0 commit comments

Comments
 (0)