Example #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
}
Example #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
}
Example #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
}
Example #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
}
Example #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
}
// 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
}
Example #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
}
Example #8
0
File: files.go Project: zqzca/back
// 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
}
Example #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
}
Example #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
}
Example #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
}
Example #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
}
Example #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
}
Example #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
}