Files
upstream-ent/entc/integration/gremlin/ent/exvaluescan/exvaluescan.go
upstream-mirror 4b3ad0b611
Some checks failed
Atlas CI Public / lint (push) Failing after 13s
Atlas CI Public / sync (push) Has been skipped
snapshot of https://github.com/ent/ent.git (master, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:12:36 +05:00

58 lines
2.0 KiB
Go

// Copyright 2019-present Facebook Inc. All rights reserved.
// This source code is licensed under the Apache 2.0 license found
// in the LICENSE file in the root directory of this source tree.
// Code generated by ent, DO NOT EDIT.
package exvaluescan
import (
"math/big"
"net/url"
"entgo.io/ent/dialect/gremlin/graph/dsl"
"entgo.io/ent/schema/field"
)
const (
// Label holds the string label denoting the exvaluescan type in the database.
Label = "ex_value_scan"
// FieldID holds the string denoting the id field in the database.
FieldID = "id"
// FieldBinary holds the string denoting the binary field in the database.
FieldBinary = "binary"
// FieldBinaryBytes holds the string denoting the binary_bytes field in the database.
FieldBinaryBytes = "binary_bytes"
// FieldBinaryOptional holds the string denoting the binary_optional field in the database.
FieldBinaryOptional = "binary_optional"
// FieldText holds the string denoting the text field in the database.
FieldText = "text"
// FieldTextOptional holds the string denoting the text_optional field in the database.
FieldTextOptional = "text_optional"
// FieldBase64 holds the string denoting the base64 field in the database.
FieldBase64 = "base64"
// FieldCustom holds the string denoting the custom field in the database.
FieldCustom = "custom"
// FieldCustomOptional holds the string denoting the custom_optional field in the database.
FieldCustomOptional = "custom_optional"
)
var (
// ValueScanner of all ExValueScan fields.
ValueScanner struct {
Binary field.TypeValueScanner[*url.URL]
BinaryBytes field.TypeValueScanner[*url.URL]
BinaryOptional field.TypeValueScanner[*url.URL]
Text field.TypeValueScanner[*big.Int]
TextOptional field.TypeValueScanner[*big.Int]
Base64 field.TypeValueScanner[string]
Custom field.TypeValueScanner[string]
CustomOptional field.TypeValueScanner[string]
}
)
// OrderOption defines the ordering options for the ExValueScan queries.
type OrderOption func(*dsl.Traversal)
// comment from another template.