table

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Attachments = newAttachmentsTable("", "attachments", "")
View Source
var Endpoints = newEndpointsTable("", "endpoints", "")
View Source
var MailmanQueue = newMailmanQueueTable("", "mailman_queue", "")
View Source
var Messages = newMessagesTable("", "messages", "")
View Source
var Rules = newRulesTable("", "rules", "")
View Source
var RulesToEndpoints = newRulesToEndpointsTable("", "rules_to_endpoints", "")
View Source
var Traces = newTracesTable("", "traces", "")

Functions

func UseSchema

func UseSchema(schema string)

UseSchema sets a new schema name for all generated table SQL builder types. It is recommended to invoke this method only once at the beginning of the program.

Types

type AttachmentsTable

type AttachmentsTable struct {
	EXCLUDED attachmentsTable
	// contains filtered or unexported fields
}

func (AttachmentsTable) AS

AS creates new AttachmentsTable with assigned alias

func (AttachmentsTable) FromSchema

func (a AttachmentsTable) FromSchema(schemaName string) *AttachmentsTable

Schema creates new AttachmentsTable with assigned schema name

func (AttachmentsTable) WithPrefix

func (a AttachmentsTable) WithPrefix(prefix string) *AttachmentsTable

WithPrefix creates new AttachmentsTable with assigned table prefix

func (AttachmentsTable) WithSuffix

func (a AttachmentsTable) WithSuffix(suffix string) *AttachmentsTable

WithSuffix creates new AttachmentsTable with assigned table suffix

type EndpointsTable

type EndpointsTable struct {
	EXCLUDED endpointsTable
	// contains filtered or unexported fields
}

func (EndpointsTable) AS

func (a EndpointsTable) AS(alias string) *EndpointsTable

AS creates new EndpointsTable with assigned alias

func (EndpointsTable) FromSchema

func (a EndpointsTable) FromSchema(schemaName string) *EndpointsTable

Schema creates new EndpointsTable with assigned schema name

func (EndpointsTable) WithPrefix

func (a EndpointsTable) WithPrefix(prefix string) *EndpointsTable

WithPrefix creates new EndpointsTable with assigned table prefix

func (EndpointsTable) WithSuffix

func (a EndpointsTable) WithSuffix(suffix string) *EndpointsTable

WithSuffix creates new EndpointsTable with assigned table suffix

type MailmanQueueTable

type MailmanQueueTable struct {
	EXCLUDED mailmanQueueTable
	// contains filtered or unexported fields
}

func (MailmanQueueTable) AS

AS creates new MailmanQueueTable with assigned alias

func (MailmanQueueTable) FromSchema

func (a MailmanQueueTable) FromSchema(schemaName string) *MailmanQueueTable

Schema creates new MailmanQueueTable with assigned schema name

func (MailmanQueueTable) WithPrefix

func (a MailmanQueueTable) WithPrefix(prefix string) *MailmanQueueTable

WithPrefix creates new MailmanQueueTable with assigned table prefix

func (MailmanQueueTable) WithSuffix

func (a MailmanQueueTable) WithSuffix(suffix string) *MailmanQueueTable

WithSuffix creates new MailmanQueueTable with assigned table suffix

type MessagesTable

type MessagesTable struct {
	EXCLUDED messagesTable
	// contains filtered or unexported fields
}

func (MessagesTable) AS

func (a MessagesTable) AS(alias string) *MessagesTable

AS creates new MessagesTable with assigned alias

func (MessagesTable) FromSchema

func (a MessagesTable) FromSchema(schemaName string) *MessagesTable

Schema creates new MessagesTable with assigned schema name

func (MessagesTable) WithPrefix

func (a MessagesTable) WithPrefix(prefix string) *MessagesTable

WithPrefix creates new MessagesTable with assigned table prefix

func (MessagesTable) WithSuffix

func (a MessagesTable) WithSuffix(suffix string) *MessagesTable

WithSuffix creates new MessagesTable with assigned table suffix

type RulesTable

type RulesTable struct {
	EXCLUDED rulesTable
	// contains filtered or unexported fields
}

func (RulesTable) AS

func (a RulesTable) AS(alias string) *RulesTable

AS creates new RulesTable with assigned alias

func (RulesTable) FromSchema

func (a RulesTable) FromSchema(schemaName string) *RulesTable

Schema creates new RulesTable with assigned schema name

func (RulesTable) WithPrefix

func (a RulesTable) WithPrefix(prefix string) *RulesTable

WithPrefix creates new RulesTable with assigned table prefix

func (RulesTable) WithSuffix

func (a RulesTable) WithSuffix(suffix string) *RulesTable

WithSuffix creates new RulesTable with assigned table suffix

type RulesToEndpointsTable

type RulesToEndpointsTable struct {
	EXCLUDED rulesToEndpointsTable
	// contains filtered or unexported fields
}

func (RulesToEndpointsTable) AS

AS creates new RulesToEndpointsTable with assigned alias

func (RulesToEndpointsTable) FromSchema

func (a RulesToEndpointsTable) FromSchema(schemaName string) *RulesToEndpointsTable

Schema creates new RulesToEndpointsTable with assigned schema name

func (RulesToEndpointsTable) WithPrefix

func (a RulesToEndpointsTable) WithPrefix(prefix string) *RulesToEndpointsTable

WithPrefix creates new RulesToEndpointsTable with assigned table prefix

func (RulesToEndpointsTable) WithSuffix

func (a RulesToEndpointsTable) WithSuffix(suffix string) *RulesToEndpointsTable

WithSuffix creates new RulesToEndpointsTable with assigned table suffix

type TracesTable

type TracesTable struct {
	EXCLUDED tracesTable
	// contains filtered or unexported fields
}

func (TracesTable) AS

func (a TracesTable) AS(alias string) *TracesTable

AS creates new TracesTable with assigned alias

func (TracesTable) FromSchema

func (a TracesTable) FromSchema(schemaName string) *TracesTable

Schema creates new TracesTable with assigned schema name

func (TracesTable) WithPrefix

func (a TracesTable) WithPrefix(prefix string) *TracesTable

WithPrefix creates new TracesTable with assigned table prefix

func (TracesTable) WithSuffix

func (a TracesTable) WithSuffix(suffix string) *TracesTable

WithSuffix creates new TracesTable with assigned table suffix

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL