mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
* Set fbsql prompt based on the connected database This also changes the prompt to align with psql, where it begins with: db=# and the mid looks like: db-# * Require organizationID in on-prem, serverless queries * Support meta-commands in `--file` command I'm not sure why this was restricted before. Just an oversight. * Change default history file name to fbsql_history * Add port short flag: p * Support meta command \list (for \l) and \out (for \o) * cleanup while writing docs * Have \cd with no arguments change to home directory * Avoid shadowing `action`
16 lines
269 B
Go
16 lines
269 B
Go
package cli
|
|
|
|
import (
|
|
"github.com/featurebasedb/featurebase/v3/errors"
|
|
)
|
|
|
|
const (
|
|
ErrOrganizationRequired errors.Code = "OrganizationRequired"
|
|
)
|
|
|
|
func NewErrOrganizationRequired() error {
|
|
return errors.New(
|
|
ErrOrganizationRequired,
|
|
"organization required",
|
|
)
|
|
}
|