Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 8
0
Archivo: files.go Proyecto: 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
}
Ejemplo n.º 9
0
// 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}
Ejemplo n.º 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
}