Пример #1
0
// UpdateAll updates all rows with the specified column values.
func (q featurepropPubQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for featureprop_pub")
	}

	return nil
}
Пример #2
0
// UpdateAll updates all rows with the specified column values.
func (q authUserRoleQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for auth_user_role")
	}

	return nil
}
Пример #3
0
// UpdateAll updates all rows with the specified column values.
func (q tableinfoQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for tableinfo")
	}

	return nil
}
Пример #4
0
// UpdateAll updates all rows with the specified column values.
func (q analysisfeatureQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for analysisfeature")
	}

	return nil
}
Пример #5
0
// UpdateAll updates all rows with the specified column values.
func (q cvtermDbxrefQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for cvterm_dbxref")
	}

	return nil
}
Пример #6
0
// UpdateAll updates all rows with the specified column values.
func (q authRolePermissionQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for auth_role_permission")
	}

	return nil
}
Пример #7
0
// UpdateAll updates all rows with the specified column values.
func (q stockcollectionQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for stockcollection")
	}

	return nil
}
Пример #8
0
// UpdateAll updates all rows with the specified column values.
func (q fileQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "models: unable to update all for files")
	}

	return nil
}
// UpdateAll updates all rows with the specified column values.
func (q stockRelationshipCvtermQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for stock_relationship_cvterm")
	}

	return nil
}
Пример #10
0
// UpdateAll updates all rows with the specified column values.
func (q environmentCvtermQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for environment_cvterm")
	}

	return nil
}
Пример #11
0
// UpdateAll updates all rows with the specified column values.
func (q pubRelationshipQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for pub_relationship")
	}

	return nil
}
Пример #12
0
// UpdateAll updates all rows with the specified column values.
func (q phenotypepropQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for phenotypeprop")
	}

	return nil
}
Пример #13
0
// UpdateAll updates all rows with the specified column values.
func (q jbrowseOrganismQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for jbrowse_organism")
	}

	return nil
}
Пример #14
0
// UpdateAll updates all rows with the specified column values.
func (q stockItemOrderQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for stock_item_order")
	}

	return nil
}
// UpdateAll updates all rows with the specified column values.
func (q phenotypeComparisonCvtermQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for phenotype_comparison_cvterm")
	}

	return nil
}
Пример #16
0
// UpdateAll updates all rows with the specified column values.
func (q authProviderQuery) UpdateAll(cols M) error {
	queries.SetUpdate(q.Query, cols)

	_, err := q.Query.Exec()
	if err != nil {
		return errors.Wrap(err, "chado: unable to update all for auth_provider")
	}

	return nil
}