Interact with your Supabase project using the Supabase JS Client.
@trigger.dev/supabase
package provides an integration that wraps the @supabase/supabase-js package, allowing you to run tasks to interact with your Supabase project.
service_role
key in a browser or anywhere where a user can see it.supabase
integration to run tasks in your jobs:
runTask
instead of the @supabase/supabase-js
client directly inside your job run,
you’ll be able to create tasks that can be run idempotently and also retried. For more, see our
guide on Resumabilitydb
object passed to the callback is an instance of the @supabase/supabase-js client, so you can use it to run any of the queries or other operations that the client supports: