コード例 #1
0
// OneP returns a single featureCvtermprop record from the query, and panics on error.
func (q featureCvtermpropQuery) OneP() *FeatureCvtermprop {
	o, err := q.One()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #2
0
ファイル: featureprop_pub.go プロジェクト: dictyBase/Modware
// CountP returns the count of all FeaturepropPub records in the query, and panics on error.
func (q featurepropPubQuery) CountP() int64 {
	c, err := q.Count()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return c
}
コード例 #3
0
ファイル: featureprop_pub.go プロジェクト: dictyBase/Modware
// FindFeaturepropPubGP retrieves a single record by ID, and panics on error.
func FindFeaturepropPubGP(featurepropPubID int, selectCols ...string) *FeaturepropPub {
	retobj, err := FindFeaturepropPub(boil.GetDB(), featurepropPubID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}
コード例 #4
0
ファイル: featureprop_pub.go プロジェクト: dictyBase/Modware
// FeaturepropPubExistsGP checks if the FeaturepropPub row exists. Panics on error.
func FeaturepropPubExistsGP(featurepropPubID int) bool {
	e, err := FeaturepropPubExists(boil.GetDB(), featurepropPubID)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #5
0
ファイル: featureprop_pub.go プロジェクト: dictyBase/Modware
// OneP returns a single featurepropPub record from the query, and panics on error.
func (q featurepropPubQuery) OneP() *FeaturepropPub {
	o, err := q.One()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #6
0
ファイル: tableinfo.go プロジェクト: dictyBase/Modware
// FindTableinfoP retrieves a single record by ID with an executor, and panics on error.
func FindTableinfoP(exec boil.Executor, tableinfoID int, selectCols ...string) *Tableinfo {
	retobj, err := FindTableinfo(exec, tableinfoID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}
コード例 #7
0
ファイル: feature_dbxref.go プロジェクト: dictyBase/Modware
// AllP returns all FeatureDbxref records from the query, and panics on error.
func (q featureDbxrefQuery) AllP() FeatureDbxrefSlice {
	o, err := q.All()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #8
0
ファイル: auth_user_role.go プロジェクト: dictyBase/Modware
// CountP returns the count of all AuthUserRole records in the query, and panics on error.
func (q authUserRoleQuery) CountP() int64 {
	c, err := q.Count()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return c
}
コード例 #9
0
ファイル: auth_user_role.go プロジェクト: dictyBase/Modware
// Exists checks if the row exists in the table, and panics on error.
func (q authUserRoleQuery) ExistsP() bool {
	e, err := q.Exists()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #10
0
ファイル: auth_user_role.go プロジェクト: dictyBase/Modware
// OneP returns a single authUserRole record from the query, and panics on error.
func (q authUserRoleQuery) OneP() *AuthUserRole {
	o, err := q.One()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #11
0
ファイル: auth_user_role.go プロジェクト: dictyBase/Modware
// AllP returns all AuthUserRole records from the query, and panics on error.
func (q authUserRoleQuery) AllP() AuthUserRoleSlice {
	o, err := q.All()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #12
0
ファイル: auth_user_role.go プロジェクト: dictyBase/Modware
// AuthUserRoleExistsP checks if the AuthUserRole row exists. Panics on error.
func AuthUserRoleExistsP(exec boil.Executor, authUserRoleID int) bool {
	e, err := AuthUserRoleExists(exec, authUserRoleID)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #13
0
ファイル: auth_user_role.go プロジェクト: dictyBase/Modware
// AuthUserRoleExistsGP checks if the AuthUserRole row exists. Panics on error.
func AuthUserRoleExistsGP(authUserRoleID int) bool {
	e, err := AuthUserRoleExists(boil.GetDB(), authUserRoleID)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #14
0
// FindFeatureCvtermpropGP retrieves a single record by ID, and panics on error.
func FindFeatureCvtermpropGP(featureCvtermpropID int, selectCols ...string) *FeatureCvtermprop {
	retobj, err := FindFeatureCvtermprop(boil.GetDB(), featureCvtermpropID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}
コード例 #15
0
ファイル: tableinfo.go プロジェクト: dictyBase/Modware
// Exists checks if the row exists in the table, and panics on error.
func (q tableinfoQuery) ExistsP() bool {
	e, err := q.Exists()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #16
0
ファイル: auth_user_role.go プロジェクト: dictyBase/Modware
// FindAuthUserRoleGP retrieves a single record by ID, and panics on error.
func FindAuthUserRoleGP(authUserRoleID int, selectCols ...string) *AuthUserRole {
	retobj, err := FindAuthUserRole(boil.GetDB(), authUserRoleID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}
コード例 #17
0
ファイル: tableinfo.go プロジェクト: dictyBase/Modware
// FindTableinfoGP retrieves a single record by ID, and panics on error.
func FindTableinfoGP(tableinfoID int, selectCols ...string) *Tableinfo {
	retobj, err := FindTableinfo(boil.GetDB(), tableinfoID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}
コード例 #18
0
ファイル: auth_user_role.go プロジェクト: dictyBase/Modware
// FindAuthUserRoleP retrieves a single record by ID with an executor, and panics on error.
func FindAuthUserRoleP(exec boil.Executor, authUserRoleID int, selectCols ...string) *AuthUserRole {
	retobj, err := FindAuthUserRole(exec, authUserRoleID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}
コード例 #19
0
ファイル: feature_dbxref.go プロジェクト: dictyBase/Modware
// OneP returns a single featureDbxref record from the query, and panics on error.
func (q featureDbxrefQuery) OneP() *FeatureDbxref {
	o, err := q.One()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #20
0
ファイル: tableinfo.go プロジェクト: dictyBase/Modware
// TableinfoExistsGP checks if the Tableinfo row exists. Panics on error.
func TableinfoExistsGP(tableinfoID int) bool {
	e, err := TableinfoExists(boil.GetDB(), tableinfoID)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #21
0
ファイル: feature_dbxref.go プロジェクト: dictyBase/Modware
// FindFeatureDbxrefGP retrieves a single record by ID, and panics on error.
func FindFeatureDbxrefGP(featureDbxrefID int, selectCols ...string) *FeatureDbxref {
	retobj, err := FindFeatureDbxref(boil.GetDB(), featureDbxrefID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}
コード例 #22
0
ファイル: tableinfo.go プロジェクト: dictyBase/Modware
// TableinfoExistsP checks if the Tableinfo row exists. Panics on error.
func TableinfoExistsP(exec boil.Executor, tableinfoID int) bool {
	e, err := TableinfoExists(exec, tableinfoID)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #23
0
ファイル: featureprop_pub.go プロジェクト: dictyBase/Modware
// FeaturepropPubExistsP checks if the FeaturepropPub row exists. Panics on error.
func FeaturepropPubExistsP(exec boil.Executor, featurepropPubID int) bool {
	e, err := FeaturepropPubExists(exec, featurepropPubID)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #24
0
ファイル: tableinfo.go プロジェクト: dictyBase/Modware
// OneP returns a single tableinfo record from the query, and panics on error.
func (q tableinfoQuery) OneP() *Tableinfo {
	o, err := q.One()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #25
0
ファイル: featureprop_pub.go プロジェクト: dictyBase/Modware
// AllP returns all FeaturepropPub records from the query, and panics on error.
func (q featurepropPubQuery) AllP() FeaturepropPubSlice {
	o, err := q.All()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #26
0
ファイル: tableinfo.go プロジェクト: dictyBase/Modware
// AllP returns all Tableinfo records from the query, and panics on error.
func (q tableinfoQuery) AllP() TableinfoSlice {
	o, err := q.All()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return o
}
コード例 #27
0
ファイル: featureprop_pub.go プロジェクト: dictyBase/Modware
// Exists checks if the row exists in the table, and panics on error.
func (q featurepropPubQuery) ExistsP() bool {
	e, err := q.Exists()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return e
}
コード例 #28
0
ファイル: tableinfo.go プロジェクト: dictyBase/Modware
// CountP returns the count of all Tableinfo records in the query, and panics on error.
func (q tableinfoQuery) CountP() int64 {
	c, err := q.Count()
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return c
}
コード例 #29
0
ファイル: featureprop_pub.go プロジェクト: dictyBase/Modware
// FindFeaturepropPubP retrieves a single record by ID with an executor, and panics on error.
func FindFeaturepropPubP(exec boil.Executor, featurepropPubID int, selectCols ...string) *FeaturepropPub {
	retobj, err := FindFeaturepropPub(exec, featurepropPubID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}
コード例 #30
0
ファイル: cvterm_dbxref.go プロジェクト: dictyBase/Modware
// FindCvtermDbxrefP retrieves a single record by ID with an executor, and panics on error.
func FindCvtermDbxrefP(exec boil.Executor, cvtermDbxrefID int, selectCols ...string) *CvtermDbxref {
	retobj, err := FindCvtermDbxref(exec, cvtermDbxrefID, selectCols...)
	if err != nil {
		panic(boil.WrapErr(err))
	}

	return retobj
}