supabasedb

package
v0.0.0-...-c2d3f4f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Write *supabasequeries.Queries
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, databaseURL string, options ...pool.Option) (*Client, error)

func (*Client) Close

func (db *Client) Close() error

func (*Client) TestsRawSQL

func (db *Client) TestsRawSQL(ctx context.Context, sql string, args ...any) error

func (*Client) TestsRawSQLQuery

func (db *Client) TestsRawSQLQuery(ctx context.Context, sql string, processRows func(pgx.Rows) error, args ...any) error

func (*Client) WithTx

func (db *Client) WithTx(ctx context.Context) (*supabasequeries.Queries, pgx.Tx, error)

func (*Client) WritePool

func (db *Client) WritePool() *pgxpool.Pool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL