Skip to content

Commit

Permalink
fix: add link on how to enable explain on the explain() method (#507)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
dshukertjr and soedirgo authored Jan 2, 2024
1 parent f91aa29 commit 197b4d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PostgrestTransformBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ export default class PostgrestTransformBuilder<
/**
* Return `data` as the EXPLAIN plan for the query.
*
* You need to enable the
* [db_plan_enabled](https://supabase.com/docs/guides/database/debugging-performance#enabling-explain)
* setting before using this method.
*
* @param options - Named parameters
*
* @param options.analyze - If `true`, the query will be executed and the
Expand Down

0 comments on commit 197b4d2

Please sign in to comment.