Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all template funcs #11

Closed
nullbio opened this issue Apr 14, 2016 · 0 comments
Closed

all template funcs #11

nullbio opened this issue Apr 14, 2016 · 0 comments

Comments

@nullbio
Copy link
Member

nullbio commented Apr 14, 2016

type VideoSlice []*Video

type videoQuery struct {
*boil.Query
}

All:

func Videos(querymods) videoQuery
func VideosX(executor, querymods) videoQuery

Delete:

func (v *Video) Delete(...querymods) error
func (v videoQuery) DeleteAll() error

Find:

func VideoFind(id int64, selectList ...string) (*Video, error)
func VideoFindX(executor, id int64, selectList ...string) (*Video, error)

Insert:

func (v *Video) Insert(querymods) error
func (v *Video) InsertX(executor, querymods) error

Update:

func (v *Video) Update(whitelist ... string) error
func (v *Video) UpdateX(executor, whitelist ... string) error
func (v videoQuery) UpdateAll(boil.M) error

Bind:
func (q *Query) Bind(interface{}) error

Do functions:
func (videoQuery) One() (*Video, error)
func (videoQuery) All() (VideoSlice, error)
@nullbio nullbio closed this as completed Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant