db

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DB

func DB(ctx context.Context, args []string, opts Options) error

DB opens the environment database in TablePlus or prints its connection URL. The printed URL includes the local development password for use by clients.

func Shell

func Shell(ctx context.Context, args []string) error

Shell opens the database client inside the container, forwarding any trailing arguments to it.

Types

type Options

type Options struct{ PrintURL bool }

Options selects whether to print the database connection URL instead of opening it.

Jump to

Keyboard shortcuts

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