api

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the api type in the database.
	Label = "api"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
)

Variables

This section is empty.

Functions

func And

func And(predicates ...predicate.Api) predicate.Api

And groups predicates with the AND operator between them.

func ID

func ID(id string) predicate.Api

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.Api

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Api

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Api

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Api

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Api

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Api

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

func Not(p predicate.Api) predicate.Api

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Api) predicate.Api

Or groups predicates with the OR operator between them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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