sql

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: AGPL-3.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemSQLDriver added in v0.0.6

type SystemSQLDriver struct {
	ORM              *bun.DB
	DriverCredential *protobuff.DriverCredentials
}

func GetSystemSQLDriver

func GetSystemSQLDriver(driverCredentials *protobuff.DriverCredentials) (*SystemSQLDriver, error)

func (*SystemSQLDriver) BlacklistAToken added in v0.0.6

func (p *SystemSQLDriver) BlacklistAToken(ctx context.Context, token map[string]interface{}) error

func (*SystemSQLDriver) CheckTokenBlacklisted added in v0.0.6

func (p *SystemSQLDriver) CheckTokenBlacklisted(ctx context.Context, tokenId string) error

func (*SystemSQLDriver) DeleteProjectFromSystem added in v0.0.6

func (p *SystemSQLDriver) DeleteProjectFromSystem(ctx context.Context, projectId string) error

func (*SystemSQLDriver) GetProject added in v0.0.6

func (p *SystemSQLDriver) GetProject(ctx context.Context, id string) (*protobuff.Project, error)

func (*SystemSQLDriver) GetSystemUser added in v0.0.6

func (p *SystemSQLDriver) GetSystemUser(ctx context.Context, id string) (*protobuff.SystemUser, error)

func (*SystemSQLDriver) GetSystemUserByUsername added in v0.0.6

func (p *SystemSQLDriver) GetSystemUserByUsername(ctx context.Context, username string) (*protobuff.SystemUser, error)

func (*SystemSQLDriver) ListFunctions added in v0.0.6

func (*SystemSQLDriver) RunMigration added in v0.0.6

func (p *SystemSQLDriver) RunMigration(ctx context.Context) error

func (*SystemSQLDriver) SaveRawData added in v0.0.6

func (p *SystemSQLDriver) SaveRawData(ctx context.Context, collection string, data map[string]interface{}) error

func (*SystemSQLDriver) SearchResource added in v0.0.6

func (*SystemSQLDriver) UpdateProject added in v0.0.6

func (p *SystemSQLDriver) UpdateProject(ctx context.Context, project *protobuff.Project, replace bool) error

func (*SystemSQLDriver) UpdateSystemUser added in v0.0.6

func (p *SystemSQLDriver) UpdateSystemUser(ctx context.Context, user *protobuff.SystemUser, replace bool) error

Jump to

Keyboard shortcuts

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