Versions in this module Expand all Collapse all v1 v1.2.1 May 9, 2017 Changes in this version + var ErrSyncFail = errors.New("models: failed to synchronize data after insert") + func NewQuery(exec boil.Executor, mods ...qm.QueryMod) *queries.Query + func NewQueryG(mods ...qm.QueryMod) *queries.Query + func People(exec boil.Executor, mods ...qm.QueryMod) personQuery + func PeopleG(mods ...qm.QueryMod) personQuery + func PersonExists(exec boil.Executor, id int) (bool, error) + func PersonExistsG(id int) (bool, error) + func PersonExistsGP(id int) bool + func PersonExistsP(exec boil.Executor, id int) bool + func PetExists(exec boil.Executor, id int) (bool, error) + func PetExistsG(id int) (bool, error) + func PetExistsGP(id int) bool + func PetExistsP(exec boil.Executor, id int) bool + func Pets(exec boil.Executor, mods ...qm.QueryMod) petQuery + func PetsG(mods ...qm.QueryMod) petQuery + func SchemaMigrationExists(exec boil.Executor, version int64) (bool, error) + func SchemaMigrationExistsG(version int64) (bool, error) + func SchemaMigrationExistsGP(version int64) bool + func SchemaMigrationExistsP(exec boil.Executor, version int64) bool + func SchemaMigrations(exec boil.Executor, mods ...qm.QueryMod) schemaMigrationQuery + func SchemaMigrationsG(mods ...qm.QueryMod) schemaMigrationQuery + type M map[string]interface + type Person struct + ID int + L personL + Name null.String + R *personR + func FindPerson(exec boil.Executor, id int, selectCols ...string) (*Person, error) + func FindPersonG(id int, selectCols ...string) (*Person, error) + func FindPersonGP(id int, selectCols ...string) *Person + func FindPersonP(exec boil.Executor, id int, selectCols ...string) *Person + func (o *Person) AddPets(exec boil.Executor, insert bool, related ...*Pet) error + func (o *Person) AddPetsG(insert bool, related ...*Pet) error + func (o *Person) AddPetsGP(insert bool, related ...*Pet) + func (o *Person) AddPetsP(exec boil.Executor, insert bool, related ...*Pet) + func (o *Person) Delete(exec boil.Executor) error + func (o *Person) DeleteG() error + func (o *Person) DeleteGP() + func (o *Person) DeleteP(exec boil.Executor) + func (o *Person) Insert(exec boil.Executor, whitelist ...string) error + func (o *Person) InsertG(whitelist ...string) error + func (o *Person) InsertGP(whitelist ...string) + func (o *Person) InsertP(exec boil.Executor, whitelist ...string) + func (o *Person) Pets(exec boil.Executor, mods ...qm.QueryMod) petQuery + func (o *Person) PetsG(mods ...qm.QueryMod) petQuery + func (o *Person) Reload(exec boil.Executor) error + func (o *Person) ReloadG() error + func (o *Person) ReloadGP() + func (o *Person) ReloadP(exec boil.Executor) + func (o *Person) RemovePets(exec boil.Executor, related ...*Pet) error + func (o *Person) RemovePetsG(related ...*Pet) error + func (o *Person) RemovePetsGP(related ...*Pet) + func (o *Person) RemovePetsP(exec boil.Executor, related ...*Pet) + func (o *Person) SetPets(exec boil.Executor, insert bool, related ...*Pet) error + func (o *Person) SetPetsG(insert bool, related ...*Pet) error + func (o *Person) SetPetsGP(insert bool, related ...*Pet) + func (o *Person) SetPetsP(exec boil.Executor, insert bool, related ...*Pet) + func (o *Person) Update(exec boil.Executor, whitelist ...string) error + func (o *Person) UpdateG(whitelist ...string) error + func (o *Person) UpdateGP(whitelist ...string) + func (o *Person) UpdateP(exec boil.Executor, whitelist ...string) + func (o *Person) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error + func (o *Person) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error + func (o *Person) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) + func (o *Person) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) + type PersonSlice []*Person + func (o *PersonSlice) ReloadAll(exec boil.Executor) error + func (o *PersonSlice) ReloadAllG() error + func (o *PersonSlice) ReloadAllGP() + func (o *PersonSlice) ReloadAllP(exec boil.Executor) + func (o PersonSlice) DeleteAll(exec boil.Executor) error + func (o PersonSlice) DeleteAllG() error + func (o PersonSlice) DeleteAllGP() + func (o PersonSlice) DeleteAllP(exec boil.Executor) + func (o PersonSlice) UpdateAll(exec boil.Executor, cols M) error + func (o PersonSlice) UpdateAllG(cols M) error + func (o PersonSlice) UpdateAllGP(cols M) + func (o PersonSlice) UpdateAllP(exec boil.Executor, cols M) + type Pet struct + ID int + Kind null.String + L petL + Name null.String + PersonID null.Int + R *petR + func FindPet(exec boil.Executor, id int, selectCols ...string) (*Pet, error) + func FindPetG(id int, selectCols ...string) (*Pet, error) + func FindPetGP(id int, selectCols ...string) *Pet + func FindPetP(exec boil.Executor, id int, selectCols ...string) *Pet + func (o *Pet) Delete(exec boil.Executor) error + func (o *Pet) DeleteG() error + func (o *Pet) DeleteGP() + func (o *Pet) DeleteP(exec boil.Executor) + func (o *Pet) Insert(exec boil.Executor, whitelist ...string) error + func (o *Pet) InsertG(whitelist ...string) error + func (o *Pet) InsertGP(whitelist ...string) + func (o *Pet) InsertP(exec boil.Executor, whitelist ...string) + func (o *Pet) Person(exec boil.Executor, mods ...qm.QueryMod) personQuery + func (o *Pet) PersonG(mods ...qm.QueryMod) personQuery + func (o *Pet) Reload(exec boil.Executor) error + func (o *Pet) ReloadG() error + func (o *Pet) ReloadGP() + func (o *Pet) ReloadP(exec boil.Executor) + func (o *Pet) RemovePerson(exec boil.Executor, related *Person) error + func (o *Pet) RemovePersonG(related *Person) error + func (o *Pet) RemovePersonGP(related *Person) + func (o *Pet) RemovePersonP(exec boil.Executor, related *Person) + func (o *Pet) SetPerson(exec boil.Executor, insert bool, related *Person) error + func (o *Pet) SetPersonG(insert bool, related *Person) error + func (o *Pet) SetPersonGP(insert bool, related *Person) + func (o *Pet) SetPersonP(exec boil.Executor, insert bool, related *Person) + func (o *Pet) Update(exec boil.Executor, whitelist ...string) error + func (o *Pet) UpdateG(whitelist ...string) error + func (o *Pet) UpdateGP(whitelist ...string) + func (o *Pet) UpdateP(exec boil.Executor, whitelist ...string) + func (o *Pet) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error + func (o *Pet) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error + func (o *Pet) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) + func (o *Pet) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) + type PetSlice []*Pet + func (o *PetSlice) ReloadAll(exec boil.Executor) error + func (o *PetSlice) ReloadAllG() error + func (o *PetSlice) ReloadAllGP() + func (o *PetSlice) ReloadAllP(exec boil.Executor) + func (o PetSlice) DeleteAll(exec boil.Executor) error + func (o PetSlice) DeleteAllG() error + func (o PetSlice) DeleteAllGP() + func (o PetSlice) DeleteAllP(exec boil.Executor) + func (o PetSlice) UpdateAll(exec boil.Executor, cols M) error + func (o PetSlice) UpdateAllG(cols M) error + func (o PetSlice) UpdateAllGP(cols M) + func (o PetSlice) UpdateAllP(exec boil.Executor, cols M) + type SchemaMigration struct + Dirty bool + L schemaMigrationL + R *schemaMigrationR + Version int64 + func FindSchemaMigration(exec boil.Executor, version int64, selectCols ...string) (*SchemaMigration, error) + func FindSchemaMigrationG(version int64, selectCols ...string) (*SchemaMigration, error) + func FindSchemaMigrationGP(version int64, selectCols ...string) *SchemaMigration + func FindSchemaMigrationP(exec boil.Executor, version int64, selectCols ...string) *SchemaMigration + func (o *SchemaMigration) Delete(exec boil.Executor) error + func (o *SchemaMigration) DeleteG() error + func (o *SchemaMigration) DeleteGP() + func (o *SchemaMigration) DeleteP(exec boil.Executor) + func (o *SchemaMigration) Insert(exec boil.Executor, whitelist ...string) error + func (o *SchemaMigration) InsertG(whitelist ...string) error + func (o *SchemaMigration) InsertGP(whitelist ...string) + func (o *SchemaMigration) InsertP(exec boil.Executor, whitelist ...string) + func (o *SchemaMigration) Reload(exec boil.Executor) error + func (o *SchemaMigration) ReloadG() error + func (o *SchemaMigration) ReloadGP() + func (o *SchemaMigration) ReloadP(exec boil.Executor) + func (o *SchemaMigration) Update(exec boil.Executor, whitelist ...string) error + func (o *SchemaMigration) UpdateG(whitelist ...string) error + func (o *SchemaMigration) UpdateGP(whitelist ...string) + func (o *SchemaMigration) UpdateP(exec boil.Executor, whitelist ...string) + func (o *SchemaMigration) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error + func (o *SchemaMigration) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error + func (o *SchemaMigration) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) + func (o *SchemaMigration) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) + type SchemaMigrationSlice []*SchemaMigration + func (o *SchemaMigrationSlice) ReloadAll(exec boil.Executor) error + func (o *SchemaMigrationSlice) ReloadAllG() error + func (o *SchemaMigrationSlice) ReloadAllGP() + func (o *SchemaMigrationSlice) ReloadAllP(exec boil.Executor) + func (o SchemaMigrationSlice) DeleteAll(exec boil.Executor) error + func (o SchemaMigrationSlice) DeleteAllG() error + func (o SchemaMigrationSlice) DeleteAllGP() + func (o SchemaMigrationSlice) DeleteAllP(exec boil.Executor) + func (o SchemaMigrationSlice) UpdateAll(exec boil.Executor, cols M) error + func (o SchemaMigrationSlice) UpdateAllG(cols M) error + func (o SchemaMigrationSlice) UpdateAllGP(cols M) + func (o SchemaMigrationSlice) UpdateAllP(exec boil.Executor, cols M)