pgdesign v0.26.0 /internal/parse/pgschema
On this page

Package pgschema is the strictspec document-shape gate for pgdesign schemas: the strictspec manifest, the schema definition, and the generated validator.

#internal/parse/pgschema

#internal/parse/pgschema

Code generated by strictspec. DO NOT EDIT.

strictspec generator: 0.1.0 schema: pgdesign-schema (format_version 1) regenerate: strictspec gen --manifest strictspec.toml

Released under the MIT license (unencumbered). This file is machine-generated; edit the schema and regenerate, never this file.

#GeneratedBy

Go go
const GeneratedBy = "0.1.0"

GeneratedBy is the strictspec release that produced this file. The runtime pairing guard hard-errors unless it matches the linked runtime exactly.

#SchemaFormatVersion

Go go
const SchemaFormatVersion = 1

SchemaFormatVersion is the document format_version this validator accepts.

#Schema

Go go
type Schema struct

Schema is the frozen typed binding of the "Schema" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Meta

Go go
type Meta struct

Meta is the frozen typed binding of the "Meta" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#TypeDef

Go go
type TypeDef struct

TypeDef is the frozen typed binding of the "TypeDef" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#SMState

Go go
type SMState struct

SMState is the frozen typed binding of the "SMState" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#SMTransition

Go go
type SMTransition struct

SMTransition is the frozen typed binding of the "SMTransition" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Table

Go go
type Table struct

Table is the frozen typed binding of the "Table" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Column

Go go
type Column struct

Column is the frozen typed binding of the "Column" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#FK

Go go
type FK struct

FK is the frozen typed binding of the "FK" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Index

Go go
type Index struct

Index is the frozen typed binding of the "Index" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Unique

Go go
type Unique struct

Unique is the frozen typed binding of the "Unique" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Check

Go go
type Check struct

Check is the frozen typed binding of the "Check" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Exclusion

Go go
type Exclusion struct

Exclusion is the frozen typed binding of the "Exclusion" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Policy

Go go
type Policy struct

Policy is the frozen typed binding of the "Policy" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Trigger

Go go
type Trigger struct

Trigger is the frozen typed binding of the "Trigger" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Partitioning

Go go
type Partitioning struct

Partitioning is the frozen typed binding of the "Partitioning" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Dependency

Go go
type Dependency struct

Dependency is the frozen typed binding of the "Dependency" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Maintenance

Go go
type Maintenance struct

Maintenance is the frozen typed binding of the "Maintenance" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#View

Go go
type View struct

View is the frozen typed binding of the "View" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#MatView

Go go
type MatView struct

MatView is the frozen typed binding of the "MatView" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Sequence

Go go
type Sequence struct

Sequence is the frozen typed binding of the "Sequence" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#Function

Go go
type Function struct

Function is the frozen typed binding of the "Function" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#FunctionArg

Go go
type FunctionArg struct

FunctionArg is the frozen typed binding of the "FunctionArg" record. Fields are immutable by convention (shallow-plus-generated-immutability); use With* for copy-on-write.

#ValidateBytes

Go go
func ValidateBytes(input []byte, syntax string) (*Schema, []strictspec.Diagnostic)

ValidateBytes is the raw-bytes entry point: lossless parse of input in the given syntax ("json" | "toml" | "jsonl"), then validate. It returns the typed root value (nil when any diagnostic fired) and the ordered diagnostics.

#ValidateValue

Go go
func ValidateValue(v strictspec.Value) (*Schema, []strictspec.Diagnostic)

ValidateValue is the tagged-value entry point: validate an already-parsed tagged document value (from strictspec.LoadValue or a typed constructor).

#ValidateBytesWithEvidence

Go go
func ValidateBytesWithEvidence(input []byte, syntax string, evidence map[string][]map[string]any) (*Schema, []strictspec.Diagnostic)

ValidateBytesWithEvidence is ValidateBytes plus cross-document resolver evidence for the phase-2 constraint vocabulary.

#Schema.WithMeta

Go go
func (x *Schema) WithMeta(v *Meta) *Schema

WithMeta returns a copy of Schema with Meta set to the given value.

#Schema.WithTypes

Go go
func (x *Schema) WithTypes(v strictspec.Value) *Schema

WithTypes returns a copy of Schema with Types set to the given value.

#Schema.WithTables

Go go
func (x *Schema) WithTables(v strictspec.Value) *Schema

WithTables returns a copy of Schema with Tables set to the given value.

#Schema.WithViews

Go go
func (x *Schema) WithViews(v strictspec.Value) *Schema

WithViews returns a copy of Schema with Views set to the given value.

#Schema.WithMaterializedViews

Go go
func (x *Schema) WithMaterializedViews(v strictspec.Value) *Schema

WithMaterializedViews returns a copy of Schema with MaterializedViews set to the given value.

#Schema.WithSequences

Go go
func (x *Schema) WithSequences(v strictspec.Value) *Schema

WithSequences returns a copy of Schema with Sequences set to the given value.

#Schema.WithFunctions

Go go
func (x *Schema) WithFunctions(v strictspec.Value) *Schema

WithFunctions returns a copy of Schema with Functions set to the given value.

#Schema.WithGroups

Go go
func (x *Schema) WithGroups(v strictspec.Value) *Schema

WithGroups returns a copy of Schema with Groups set to the given value.

#Meta.WithVersion

Go go
func (x *Meta) WithVersion(v int64) *Meta

WithVersion returns a copy of Meta with Version set to the given value.

#Meta.WithSchema

Go go
func (x *Meta) WithSchema(v string) *Meta

WithSchema returns a copy of Meta with Schema set to the given value.

#Meta.WithExtensions

Go go
func (x *Meta) WithExtensions(v []string) *Meta

WithExtensions returns a copy of Meta with Extensions set to the given value.

#TypeDef.WithKind

Go go
func (x *TypeDef) WithKind(v string) *TypeDef

WithKind returns a copy of TypeDef with Kind set to the given value.

#TypeDef.WithExtends

Go go
func (x *TypeDef) WithExtends(v string) *TypeDef

WithExtends returns a copy of TypeDef with Extends set to the given value.

#TypeDef.WithBaseType

Go go
func (x *TypeDef) WithBaseType(v string) *TypeDef

WithBaseType returns a copy of TypeDef with BaseType set to the given value.

#TypeDef.WithValues

Go go
func (x *TypeDef) WithValues(v []string) *TypeDef

WithValues returns a copy of TypeDef with Values set to the given value.

#TypeDef.WithNotNull

Go go
func (x *TypeDef) WithNotNull(v bool) *TypeDef

WithNotNull returns a copy of TypeDef with NotNull set to the given value.

#TypeDef.WithDefault

Go go
func (x *TypeDef) WithDefault(v string) *TypeDef

WithDefault returns a copy of TypeDef with Default set to the given value.

#TypeDef.WithDefaultExpr

Go go
func (x *TypeDef) WithDefaultExpr(v string) *TypeDef

WithDefaultExpr returns a copy of TypeDef with DefaultExpr set to the given value.

#TypeDef.WithCheck

Go go
func (x *TypeDef) WithCheck(v string) *TypeDef

WithCheck returns a copy of TypeDef with Check set to the given value.

#TypeDef.WithUnique

Go go
func (x *TypeDef) WithUnique(v bool) *TypeDef

WithUnique returns a copy of TypeDef with Unique set to the given value.

#TypeDef.WithArray

Go go
func (x *TypeDef) WithArray(v bool) *TypeDef

WithArray returns a copy of TypeDef with Array set to the given value.

#TypeDef.WithComment

Go go
func (x *TypeDef) WithComment(v string) *TypeDef

WithComment returns a copy of TypeDef with Comment set to the given value.

#TypeDef.WithInitial

Go go
func (x *TypeDef) WithInitial(v string) *TypeDef

WithInitial returns a copy of TypeDef with Initial set to the given value.

#TypeDef.WithEnforce

Go go
func (x *TypeDef) WithEnforce(v bool) *TypeDef

WithEnforce returns a copy of TypeDef with Enforce set to the given value.

#TypeDef.WithFields

Go go
func (x *TypeDef) WithFields(v strictspec.Value) *TypeDef

WithFields returns a copy of TypeDef with Fields set to the given value.

#TypeDef.WithStates

Go go
func (x *TypeDef) WithStates(v strictspec.Value) *TypeDef

WithStates returns a copy of TypeDef with States set to the given value.

#TypeDef.WithTransitions

Go go
func (x *TypeDef) WithTransitions(v []*SMTransition) *TypeDef

WithTransitions returns a copy of TypeDef with Transitions set to the given value.

#SMState.WithTerminal

Go go
func (x *SMState) WithTerminal(v bool) *SMState

WithTerminal returns a copy of SMState with Terminal set to the given value.

#SMState.WithComment

Go go
func (x *SMState) WithComment(v string) *SMState

WithComment returns a copy of SMState with Comment set to the given value.

#SMTransition.WithName

Go go
func (x *SMTransition) WithName(v string) *SMTransition

WithName returns a copy of SMTransition with Name set to the given value.

#SMTransition.WithFrom

Go go
func (x *SMTransition) WithFrom(v []string) *SMTransition

WithFrom returns a copy of SMTransition with From set to the given value.

#SMTransition.WithTo

Go go
func (x *SMTransition) WithTo(v string) *SMTransition

WithTo returns a copy of SMTransition with To set to the given value.

#SMTransition.WithRequires

Go go
func (x *SMTransition) WithRequires(v strictspec.Value) *SMTransition

WithRequires returns a copy of SMTransition with Requires set to the given value.

#SMTransition.WithComment

Go go
func (x *SMTransition) WithComment(v string) *SMTransition

WithComment returns a copy of SMTransition with Comment set to the given value.

#Table.WithComment

Go go
func (x *Table) WithComment(v string) *Table

WithComment returns a copy of Table with Comment set to the given value.

#Table.WithPk

Go go
func (x *Table) WithPk(v []string) *Table

WithPk returns a copy of Table with Pk set to the given value.

#Table.WithEnableRls

Go go
func (x *Table) WithEnableRls(v bool) *Table

WithEnableRls returns a copy of Table with EnableRls set to the given value.

#Table.WithForceRls

Go go
func (x *Table) WithForceRls(v bool) *Table

WithForceRls returns a copy of Table with ForceRls set to the given value.

#Table.WithAppendOnly

Go go
func (x *Table) WithAppendOnly(v bool) *Table

WithAppendOnly returns a copy of Table with AppendOnly set to the given value.

#Table.WithColumns

Go go
func (x *Table) WithColumns(v strictspec.Value) *Table

WithColumns returns a copy of Table with Columns set to the given value.

#Table.WithFks

Go go
func (x *Table) WithFks(v strictspec.Value) *Table

WithFks returns a copy of Table with Fks set to the given value.

#Table.WithIndexes

Go go
func (x *Table) WithIndexes(v strictspec.Value) *Table

WithIndexes returns a copy of Table with Indexes set to the given value.

#Table.WithUnique

Go go
func (x *Table) WithUnique(v strictspec.Value) *Table

WithUnique returns a copy of Table with Unique set to the given value.

#Table.WithChecks

Go go
func (x *Table) WithChecks(v strictspec.Value) *Table

WithChecks returns a copy of Table with Checks set to the given value.

#Table.WithExclusions

Go go
func (x *Table) WithExclusions(v strictspec.Value) *Table

WithExclusions returns a copy of Table with Exclusions set to the given value.

#Table.WithPolicies

Go go
func (x *Table) WithPolicies(v strictspec.Value) *Table

WithPolicies returns a copy of Table with Policies set to the given value.

#Table.WithTriggers

Go go
func (x *Table) WithTriggers(v strictspec.Value) *Table

WithTriggers returns a copy of Table with Triggers set to the given value.

#Table.WithPartitioning

Go go
func (x *Table) WithPartitioning(v *Partitioning) *Table

WithPartitioning returns a copy of Table with Partitioning set to the given value.

#Table.WithDependencies

Go go
func (x *Table) WithDependencies(v []*Dependency) *Table

WithDependencies returns a copy of Table with Dependencies set to the given value.

#Table.WithMaintenance

Go go
func (x *Table) WithMaintenance(v *Maintenance) *Table

WithMaintenance returns a copy of Table with Maintenance set to the given value.

#Column.WithType

Go go
func (x *Column) WithType(v string) *Column

WithType returns a copy of Column with Type set to the given value.

#Column.WithNullable

Go go
func (x *Column) WithNullable(v bool) *Column

WithNullable returns a copy of Column with Nullable set to the given value.

#Column.WithDefault

Go go
func (x *Column) WithDefault(v string) *Column

WithDefault returns a copy of Column with Default set to the given value.

#Column.WithDefaultExpr

Go go
func (x *Column) WithDefaultExpr(v string) *Column

WithDefaultExpr returns a copy of Column with DefaultExpr set to the given value.

#Column.WithGenerated

Go go
func (x *Column) WithGenerated(v string) *Column

WithGenerated returns a copy of Column with Generated set to the given value.

#Column.WithStored

Go go
func (x *Column) WithStored(v bool) *Column

WithStored returns a copy of Column with Stored set to the given value.

#Column.WithArray

Go go
func (x *Column) WithArray(v bool) *Column

WithArray returns a copy of Column with Array set to the given value.

#Column.WithComment

Go go
func (x *Column) WithComment(v string) *Column

WithComment returns a copy of Column with Comment set to the given value.

#Column.WithJsonSchema

Go go
func (x *Column) WithJsonSchema(v string) *Column

WithJsonSchema returns a copy of Column with JsonSchema set to the given value.

#Column.WithCollation

Go go
func (x *Column) WithCollation(v string) *Column

WithCollation returns a copy of Column with Collation set to the given value.

#Column.WithStatistics

Go go
func (x *Column) WithStatistics(v int64) *Column

WithStatistics returns a copy of Column with Statistics set to the given value.

#FK.WithColumns

Go go
func (x *FK) WithColumns(v []string) *FK

WithColumns returns a copy of FK with Columns set to the given value.

#FK.WithRefTable

Go go
func (x *FK) WithRefTable(v string) *FK

WithRefTable returns a copy of FK with RefTable set to the given value.

#FK.WithRefColumns

Go go
func (x *FK) WithRefColumns(v []string) *FK

WithRefColumns returns a copy of FK with RefColumns set to the given value.

#FK.WithOnDelete

Go go
func (x *FK) WithOnDelete(v string) *FK

WithOnDelete returns a copy of FK with OnDelete set to the given value.

#Index.WithColumns

Go go
func (x *Index) WithColumns(v []string) *Index

WithColumns returns a copy of Index with Columns set to the given value.

#Index.WithMethod

Go go
func (x *Index) WithMethod(v string) *Index

WithMethod returns a copy of Index with Method set to the given value.

#Index.WithOpclass

Go go
func (x *Index) WithOpclass(v strictspec.Value) *Index

WithOpclass returns a copy of Index with Opclass set to the given value.

#Index.WithCollation

Go go
func (x *Index) WithCollation(v strictspec.Value) *Index

WithCollation returns a copy of Index with Collation set to the given value.

#Index.WithWhere

Go go
func (x *Index) WithWhere(v string) *Index

WithWhere returns a copy of Index with Where set to the given value.

#Index.WithInclude

Go go
func (x *Index) WithInclude(v []string) *Index

WithInclude returns a copy of Index with Include set to the given value.

#Index.WithUnique

Go go
func (x *Index) WithUnique(v bool) *Index

WithUnique returns a copy of Index with Unique set to the given value.

#Index.WithWith

Go go
func (x *Index) WithWith(v strictspec.Value) *Index

WithWith returns a copy of Index with With set to the given value.

#Unique.WithColumns

Go go
func (x *Unique) WithColumns(v []string) *Unique

WithColumns returns a copy of Unique with Columns set to the given value.

#Unique.WithDeferrable

Go go
func (x *Unique) WithDeferrable(v bool) *Unique

WithDeferrable returns a copy of Unique with Deferrable set to the given value.

#Unique.WithInitiallyDeferred

Go go
func (x *Unique) WithInitiallyDeferred(v bool) *Unique

WithInitiallyDeferred returns a copy of Unique with InitiallyDeferred set to the given value.

#Check.WithExpr

Go go
func (x *Check) WithExpr(v string) *Check

WithExpr returns a copy of Check with Expr set to the given value.

#Exclusion.WithColumns

Go go
func (x *Exclusion) WithColumns(v []string) *Exclusion

WithColumns returns a copy of Exclusion with Columns set to the given value.

#Exclusion.WithOperators

Go go
func (x *Exclusion) WithOperators(v []string) *Exclusion

WithOperators returns a copy of Exclusion with Operators set to the given value.

#Exclusion.WithMethod

Go go
func (x *Exclusion) WithMethod(v string) *Exclusion

WithMethod returns a copy of Exclusion with Method set to the given value.

#Exclusion.WithWhere

Go go
func (x *Exclusion) WithWhere(v string) *Exclusion

WithWhere returns a copy of Exclusion with Where set to the given value.

#Exclusion.WithDeferrable

Go go
func (x *Exclusion) WithDeferrable(v bool) *Exclusion

WithDeferrable returns a copy of Exclusion with Deferrable set to the given value.

#Exclusion.WithInitiallyDeferred

Go go
func (x *Exclusion) WithInitiallyDeferred(v bool) *Exclusion

WithInitiallyDeferred returns a copy of Exclusion with InitiallyDeferred set to the given value.

#Policy.WithType

Go go
func (x *Policy) WithType(v string) *Policy

WithType returns a copy of Policy with Type set to the given value.

#Policy.WithFor

Go go
func (x *Policy) WithFor(v string) *Policy

WithFor returns a copy of Policy with For set to the given value.

#Policy.WithTo

Go go
func (x *Policy) WithTo(v string) *Policy

WithTo returns a copy of Policy with To set to the given value.

#Policy.WithUsing

Go go
func (x *Policy) WithUsing(v string) *Policy

WithUsing returns a copy of Policy with Using set to the given value.

#Policy.WithWithCheck

Go go
func (x *Policy) WithWithCheck(v string) *Policy

WithWithCheck returns a copy of Policy with WithCheck set to the given value.

#Policy.WithErrorCode

Go go
func (x *Policy) WithErrorCode(v string) *Policy

WithErrorCode returns a copy of Policy with ErrorCode set to the given value.

#Policy.WithErrorMessage

Go go
func (x *Policy) WithErrorMessage(v string) *Policy

WithErrorMessage returns a copy of Policy with ErrorMessage set to the given value.

#Trigger.WithFunction

Go go
func (x *Trigger) WithFunction(v string) *Trigger

WithFunction returns a copy of Trigger with Function set to the given value.

#Trigger.WithEvents

Go go
func (x *Trigger) WithEvents(v []string) *Trigger

WithEvents returns a copy of Trigger with Events set to the given value.

#Trigger.WithTiming

Go go
func (x *Trigger) WithTiming(v string) *Trigger

WithTiming returns a copy of Trigger with Timing set to the given value.

#Trigger.WithForEach

Go go
func (x *Trigger) WithForEach(v string) *Trigger

WithForEach returns a copy of Trigger with ForEach set to the given value.

#Trigger.WithWhen

Go go
func (x *Trigger) WithWhen(v string) *Trigger

WithWhen returns a copy of Trigger with When set to the given value.

#Trigger.WithConstraint

Go go
func (x *Trigger) WithConstraint(v bool) *Trigger

WithConstraint returns a copy of Trigger with Constraint set to the given value.

#Trigger.WithDeferrable

Go go
func (x *Trigger) WithDeferrable(v bool) *Trigger

WithDeferrable returns a copy of Trigger with Deferrable set to the given value.

#Trigger.WithInitiallyDeferred

Go go
func (x *Trigger) WithInitiallyDeferred(v bool) *Trigger

WithInitiallyDeferred returns a copy of Trigger with InitiallyDeferred set to the given value.

#Trigger.WithReferencingOld

Go go
func (x *Trigger) WithReferencingOld(v string) *Trigger

WithReferencingOld returns a copy of Trigger with ReferencingOld set to the given value.

#Trigger.WithReferencingNew

Go go
func (x *Trigger) WithReferencingNew(v string) *Trigger

WithReferencingNew returns a copy of Trigger with ReferencingNew set to the given value.

#Trigger.WithComment

Go go
func (x *Trigger) WithComment(v string) *Trigger

WithComment returns a copy of Trigger with Comment set to the given value.

#Partitioning.WithStrategy

Go go
func (x *Partitioning) WithStrategy(v string) *Partitioning

WithStrategy returns a copy of Partitioning with Strategy set to the given value.

#Partitioning.WithColumn

Go go
func (x *Partitioning) WithColumn(v string) *Partitioning

WithColumn returns a copy of Partitioning with Column set to the given value.

#Partitioning.WithColumns

Go go
func (x *Partitioning) WithColumns(v []string) *Partitioning

WithColumns returns a copy of Partitioning with Columns set to the given value.

#Partitioning.WithName

Go go
func (x *Partitioning) WithName(v string) *Partitioning

WithName returns a copy of Partitioning with Name set to the given value.

#Partitioning.WithBound

Go go
func (x *Partitioning) WithBound(v string) *Partitioning

WithBound returns a copy of Partitioning with Bound set to the given value.

#Partitioning.WithPartitions

Go go
func (x *Partitioning) WithPartitions(v []*Partitioning) *Partitioning

WithPartitions returns a copy of Partitioning with Partitions set to the given value.

#Dependency.WithDeterminant

Go go
func (x *Dependency) WithDeterminant(v []string) *Dependency

WithDeterminant returns a copy of Dependency with Determinant set to the given value.

#Dependency.WithDependent

Go go
func (x *Dependency) WithDependent(v []string) *Dependency

WithDependent returns a copy of Dependency with Dependent set to the given value.

#Maintenance.WithInterval

Go go
func (x *Maintenance) WithInterval(v string) *Maintenance

WithInterval returns a copy of Maintenance with Interval set to the given value.

#Maintenance.WithPremake

Go go
func (x *Maintenance) WithPremake(v int64) *Maintenance

WithPremake returns a copy of Maintenance with Premake set to the given value.

#Maintenance.WithRetention

Go go
func (x *Maintenance) WithRetention(v string) *Maintenance

WithRetention returns a copy of Maintenance with Retention set to the given value.

#Maintenance.WithRetentionKeepTable

Go go
func (x *Maintenance) WithRetentionKeepTable(v bool) *Maintenance

WithRetentionKeepTable returns a copy of Maintenance with RetentionKeepTable set to the given value.

#Maintenance.WithSchedule

Go go
func (x *Maintenance) WithSchedule(v string) *Maintenance

WithSchedule returns a copy of Maintenance with Schedule set to the given value.

#View.WithQuery

Go go
func (x *View) WithQuery(v string) *View

WithQuery returns a copy of View with Query set to the given value.

#View.WithComment

Go go
func (x *View) WithComment(v string) *View

WithComment returns a copy of View with Comment set to the given value.

#View.WithDependsOn

Go go
func (x *View) WithDependsOn(v []string) *View

WithDependsOn returns a copy of View with DependsOn set to the given value.

#MatView.WithQuery

Go go
func (x *MatView) WithQuery(v string) *MatView

WithQuery returns a copy of MatView with Query set to the given value.

#MatView.WithComment

Go go
func (x *MatView) WithComment(v string) *MatView

WithComment returns a copy of MatView with Comment set to the given value.

#MatView.WithDependsOn

Go go
func (x *MatView) WithDependsOn(v []string) *MatView

WithDependsOn returns a copy of MatView with DependsOn set to the given value.

#MatView.WithWithData

Go go
func (x *MatView) WithWithData(v bool) *MatView

WithWithData returns a copy of MatView with WithData set to the given value.

#MatView.WithIndexes

Go go
func (x *MatView) WithIndexes(v strictspec.Value) *MatView

WithIndexes returns a copy of MatView with Indexes set to the given value.

#Sequence.WithStart

Go go
func (x *Sequence) WithStart(v int64) *Sequence

WithStart returns a copy of Sequence with Start set to the given value.

#Sequence.WithIncrement

Go go
func (x *Sequence) WithIncrement(v int64) *Sequence

WithIncrement returns a copy of Sequence with Increment set to the given value.

#Sequence.WithMinValue

Go go
func (x *Sequence) WithMinValue(v int64) *Sequence

WithMinValue returns a copy of Sequence with MinValue set to the given value.

#Sequence.WithMaxValue

Go go
func (x *Sequence) WithMaxValue(v int64) *Sequence

WithMaxValue returns a copy of Sequence with MaxValue set to the given value.

#Sequence.WithCache

Go go
func (x *Sequence) WithCache(v int64) *Sequence

WithCache returns a copy of Sequence with Cache set to the given value.

#Sequence.WithCycle

Go go
func (x *Sequence) WithCycle(v bool) *Sequence

WithCycle returns a copy of Sequence with Cycle set to the given value.

#Sequence.WithOwnedBy

Go go
func (x *Sequence) WithOwnedBy(v string) *Sequence

WithOwnedBy returns a copy of Sequence with OwnedBy set to the given value.

#Sequence.WithComment

Go go
func (x *Sequence) WithComment(v string) *Sequence

WithComment returns a copy of Sequence with Comment set to the given value.

#Function.WithLanguage

Go go
func (x *Function) WithLanguage(v string) *Function

WithLanguage returns a copy of Function with Language set to the given value.

#Function.WithReturns

Go go
func (x *Function) WithReturns(v string) *Function

WithReturns returns a copy of Function with Returns set to the given value.

#Function.WithBody

Go go
func (x *Function) WithBody(v string) *Function

WithBody returns a copy of Function with Body set to the given value.

#Function.WithFile

Go go
func (x *Function) WithFile(v string) *Function

WithFile returns a copy of Function with File set to the given value.

#Function.WithComment

Go go
func (x *Function) WithComment(v string) *Function

WithComment returns a copy of Function with Comment set to the given value.

#Function.WithVolatility

Go go
func (x *Function) WithVolatility(v string) *Function

WithVolatility returns a copy of Function with Volatility set to the given value.

#Function.WithParallel

Go go
func (x *Function) WithParallel(v string) *Function

WithParallel returns a copy of Function with Parallel set to the given value.

#Function.WithSecurityDefiner

Go go
func (x *Function) WithSecurityDefiner(v bool) *Function

WithSecurityDefiner returns a copy of Function with SecurityDefiner set to the given value.

#Function.WithProcedure

Go go
func (x *Function) WithProcedure(v bool) *Function

WithProcedure returns a copy of Function with Procedure set to the given value.

#Function.WithCost

Go go
func (x *Function) WithCost(v float64) *Function

WithCost returns a copy of Function with Cost set to the given value.

#Function.WithRows

Go go
func (x *Function) WithRows(v float64) *Function

WithRows returns a copy of Function with Rows set to the given value.

#Function.WithDependsOn

Go go
func (x *Function) WithDependsOn(v []string) *Function

WithDependsOn returns a copy of Function with DependsOn set to the given value.

#Function.WithArgs

Go go
func (x *Function) WithArgs(v []*FunctionArg) *Function

WithArgs returns a copy of Function with Args set to the given value.

#FunctionArg.WithName

Go go
func (x *FunctionArg) WithName(v string) *FunctionArg

WithName returns a copy of FunctionArg with Name set to the given value.

#FunctionArg.WithType

Go go
func (x *FunctionArg) WithType(v string) *FunctionArg

WithType returns a copy of FunctionArg with Type set to the given value.

#FunctionArg.WithDefault

Go go
func (x *FunctionArg) WithDefault(v string) *FunctionArg

WithDefault returns a copy of FunctionArg with Default set to the given value.

Search