Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TranspileFilter ¶
func TranspileOrderBy ¶
Types ¶
type Transpiler ¶
type Transpiler struct {
// contains filtered or unexported fields
}
type TranspilerOption ¶
type TranspilerOption func(*Transpiler)
TranspilerOption customizes a Transpiler.
func WithEnumResolver ¶
func WithEnumResolver(resolve func(protoreflect.FullName) protoreflect.EnumDescriptor) TranspilerOption
WithEnumResolver overrides enum resolution, which defaults to the global type registry — for callers operating on descriptors that are not linked into the binary (e.g. code generators).
func WithInlineParams ¶
func WithInlineParams() TranspilerOption
WithInlineParams renders constants as SQL literals instead of $n placeholders, producing a static clause with no bound parameters — for callers baking SQL at code-generation time.