ip

package
v0.0.0-...-444ad2e Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the ip type in the database.
	Label = "ip"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id" // FieldIP holds the string denoting the ip vertex property in the database.
	FieldIP = "ip"

	// Table holds the table name of the ip in the database.
	Table = "i_ps"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldIP,
}

Columns holds all SQL columns for ip fields.

Functions

func And

func And(predicates ...predicate.IP) predicate.IP

And groups list of predicates with the AND operator between them.

func ID

func ID(id int) predicate.IP

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.IP

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.IP

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.IP

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.IP

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.IP

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.IP

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.IP

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.IP

IDNotIn applies the NotIn predicate on the ID field.

func IP

func IP(v string) predicate.IP

IP applies equality check predicate on the "ip" field. It's identical to IPEQ.

func IPContains

func IPContains(v string) predicate.IP

IPContains applies the Contains predicate on the "ip" field.

func IPContainsFold

func IPContainsFold(v string) predicate.IP

IPContainsFold applies the ContainsFold predicate on the "ip" field.

func IPEQ

func IPEQ(v string) predicate.IP

IPEQ applies the EQ predicate on the "ip" field.

func IPEqualFold

func IPEqualFold(v string) predicate.IP

IPEqualFold applies the EqualFold predicate on the "ip" field.

func IPGT

func IPGT(v string) predicate.IP

IPGT applies the GT predicate on the "ip" field.

func IPGTE

func IPGTE(v string) predicate.IP

IPGTE applies the GTE predicate on the "ip" field.

func IPHasPrefix

func IPHasPrefix(v string) predicate.IP

IPHasPrefix applies the HasPrefix predicate on the "ip" field.

func IPHasSuffix

func IPHasSuffix(v string) predicate.IP

IPHasSuffix applies the HasSuffix predicate on the "ip" field.

func IPIn

func IPIn(vs ...string) predicate.IP

IPIn applies the In predicate on the "ip" field.

func IPLT

func IPLT(v string) predicate.IP

IPLT applies the LT predicate on the "ip" field.

func IPLTE

func IPLTE(v string) predicate.IP

IPLTE applies the LTE predicate on the "ip" field.

func IPNEQ

func IPNEQ(v string) predicate.IP

IPNEQ applies the NEQ predicate on the "ip" field.

func IPNotIn

func IPNotIn(vs ...string) predicate.IP

IPNotIn applies the NotIn predicate on the "ip" field.

func Not

func Not(p predicate.IP) predicate.IP

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.IP) predicate.IP

Or groups list of 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