package
1.0.0-beta.186
Repository: https://github.com/openmeterio/openmeter.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
ByCreatedAt orders the results by the created_at field.
ByDeletedAt orders the results by the deleted_at field.
ByExampleValue2 orders the results by the example_value_2 field.
ByID orders the results by the id field.
ByUpdatedAt orders the results by the updated_at field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
DeletedAt applies equality check predicate on the "deleted_at" field.
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
DeletedAtGT applies the GT predicate on the "deleted_at" field.
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
DeletedAtIn applies the In predicate on the "deleted_at" field.
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
DeletedAtLT applies the LT predicate on the "deleted_at" field.
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
ExampleValue2 applies equality check predicate on the "example_value_2" field.
ExampleValue2Contains applies the Contains predicate on the "example_value_2" field.
ExampleValue2ContainsFold applies the ContainsFold predicate on the "example_value_2" field.
ExampleValue2EQ applies the EQ predicate on the "example_value_2" field.
ExampleValue2EqualFold applies the EqualFold predicate on the "example_value_2" field.
ExampleValue2GT applies the GT predicate on the "example_value_2" field.
ExampleValue2GTE applies the GTE predicate on the "example_value_2" field.
ExampleValue2HasPrefix applies the HasPrefix predicate on the "example_value_2" field.
ExampleValue2HasSuffix applies the HasSuffix predicate on the "example_value_2" field.
ExampleValue2In applies the In predicate on the "example_value_2" field.
ExampleValue2LT applies the LT predicate on the "example_value_2" field.
ExampleValue2LTE applies the LTE predicate on the "example_value_2" field.
ExampleValue2NEQ applies the NEQ predicate on the "example_value_2" field.
ExampleValue2NotIn applies the NotIn predicate on the "example_value_2" field.
ID filters vertices based on their ID field.
IDContainsFold applies the ContainsFold predicate on the ID field.
IDEQ applies the EQ predicate on the ID field.
IDEqualFold applies the EqualFold predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldDeletedAt holds the string denoting the deleted_at field in the database.
FieldExampleValue2 holds the string denoting the example_value_2 field in the database.
FieldID holds the string denoting the id field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
Label holds the string label denoting the example2 type in the database.
Table holds the table name of the example2 in the database.
# Variables
Columns holds all SQL columns for example2 fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
# Type aliases
OrderOption defines the ordering options for the Example2 queries.