mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
@@ -6,7 +6,7 @@ in the LICENSE file in the root directory of this source tree.
|
||||
|
||||
{{/* constants needed for gremlin dialects. */}}
|
||||
{{ define "dialect/gremlin/meta/constants" }}
|
||||
{{ range $_, $e := $.Edges }}{{ $label := $e.LabelConstant -}}
|
||||
{{ range $e := $.Edges }}{{ $label := $e.LabelConstant -}}
|
||||
{{ if $e.IsInverse }}{{- $label = $e.InverseLabelConstant -}}
|
||||
// {{ $label }} holds the string label denoting the {{ lower $e.Name }} inverse edge type in the database.
|
||||
{{ else -}}
|
||||
|
||||
Reference in New Issue
Block a user