example1

package
v1.0.0-beta.106 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the example1 type in the database.
	Label = "example1"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldExampleValue1 holds the string denoting the example_value_1 field in the database.
	FieldExampleValue1 = "example_value_1"
	// Table holds the table name of the example1 in the database.
	Table = "example1s"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
)

Columns holds all SQL columns for example1 fields.

Functions

func And

func And(predicates ...predicate.Example1) predicate.Example1

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Example1

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Example1

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Example1

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Example1

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Example1

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Example1

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Example1

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Example1

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Example1

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Example1

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Example1

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Example1

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Example1

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Example1

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Example1

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Example1

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Example1

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Example1

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Example1

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Example1

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func ExampleValue1

func ExampleValue1(v string) predicate.Example1

ExampleValue1 applies equality check predicate on the "example_value_1" field. It's identical to ExampleValue1EQ.

func ExampleValue1Contains

func ExampleValue1Contains(v string) predicate.Example1

ExampleValue1Contains applies the Contains predicate on the "example_value_1" field.

func ExampleValue1ContainsFold

func ExampleValue1ContainsFold(v string) predicate.Example1

ExampleValue1ContainsFold applies the ContainsFold predicate on the "example_value_1" field.

func ExampleValue1EQ

func ExampleValue1EQ(v string) predicate.Example1

ExampleValue1EQ applies the EQ predicate on the "example_value_1" field.

func ExampleValue1EqualFold

func ExampleValue1EqualFold(v string) predicate.Example1

ExampleValue1EqualFold applies the EqualFold predicate on the "example_value_1" field.

func ExampleValue1GT

func ExampleValue1GT(v string) predicate.Example1

ExampleValue1GT applies the GT predicate on the "example_value_1" field.

func ExampleValue1GTE

func ExampleValue1GTE(v string) predicate.Example1

ExampleValue1GTE applies the GTE predicate on the "example_value_1" field.

func ExampleValue1HasPrefix

func ExampleValue1HasPrefix(v string) predicate.Example1

ExampleValue1HasPrefix applies the HasPrefix predicate on the "example_value_1" field.

func ExampleValue1HasSuffix

func ExampleValue1HasSuffix(v string) predicate.Example1

ExampleValue1HasSuffix applies the HasSuffix predicate on the "example_value_1" field.

func ExampleValue1In

func ExampleValue1In(vs ...string) predicate.Example1

ExampleValue1In applies the In predicate on the "example_value_1" field.

func ExampleValue1LT

func ExampleValue1LT(v string) predicate.Example1

ExampleValue1LT applies the LT predicate on the "example_value_1" field.

func ExampleValue1LTE

func ExampleValue1LTE(v string) predicate.Example1

ExampleValue1LTE applies the LTE predicate on the "example_value_1" field.

func ExampleValue1NEQ

func ExampleValue1NEQ(v string) predicate.Example1

ExampleValue1NEQ applies the NEQ predicate on the "example_value_1" field.

func ExampleValue1NotIn

func ExampleValue1NotIn(vs ...string) predicate.Example1

ExampleValue1NotIn applies the NotIn predicate on the "example_value_1" field.

func ID

func ID(id string) predicate.Example1

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Example1

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Example1

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Example1

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Example1

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Example1

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Example1

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Example1

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Example1

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Example1

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Example1

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Example1) predicate.Example1

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Example1

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Example1

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Example1

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Example1

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Example1

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Example1

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Example1

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Example1

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Example1

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Example1 queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByExampleValue1

func ByExampleValue1(opts ...sql.OrderTermOption) OrderOption

ByExampleValue1 orders the results by the example_value_1 field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL