sql

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Id        = sbd.Field("id")
	CreatedAt = sbd.Field("created_at")
	UpdatedAt = sbd.Field("updated_at")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter interface {
	Count() string
}

type Deleter

type Deleter interface {
	Delete() string
}

type Finder

type Finder interface {
	Find() string
}

type Geter

type Geter interface {
	Get() string
}

type GeterForUpdate

type GeterForUpdate interface {
	GetForUpdate() string
}

type Inserter

type Inserter interface {
	Insert() string
}

type Pager

type Pager interface {
	Pagination() string
}

type SQL added in v0.0.2

type SQLBase added in v0.0.2

type SQLBase struct{}

func (*SQLBase) Count added in v0.0.2

func (s *SQLBase) Count() string

Count implements SQL.

func (*SQLBase) Delete added in v0.0.2

func (s *SQLBase) Delete() string

Delete implements SQL.

func (*SQLBase) Find added in v0.0.2

func (s *SQLBase) Find() string

Find implements SQL.

func (*SQLBase) Get added in v0.0.2

func (s *SQLBase) Get() string

Get implements SQL.

func (*SQLBase) GetForUpdate added in v0.0.2

func (s *SQLBase) GetForUpdate() string

GetForUpdate implements SQL.

func (*SQLBase) Insert added in v0.0.2

func (s *SQLBase) Insert() string

Insert implements SQL.

func (*SQLBase) Pagination added in v0.0.2

func (s *SQLBase) Pagination() string

Pagination implements SQL.

func (*SQLBase) Save added in v0.0.2

func (s *SQLBase) Save() string

Save implements SQL.

func (*SQLBase) Update added in v0.0.2

func (s *SQLBase) Update() string

Update implements SQL.

type Saver

type Saver interface {
	Save() string
}

type Updater

type Updater interface {
	Update() string
}

Jump to

Keyboard shortcuts

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