Documentation
¶
Overview ¶
Package postgres provides a PostgreSQL storage backend for xmpp-go.
Index ¶
- func New(dsn string) (*xmppsql.Store, error)
- type PostgresDialect
- func (d PostgresDialect) AutoIncrement() string
- func (d PostgresDialect) BlobType() string
- func (d PostgresDialect) Migrations() []string
- func (d PostgresDialect) Name() string
- func (d PostgresDialect) Now() string
- func (d PostgresDialect) Placeholder(n int) string
- func (d PostgresDialect) TextType() string
- func (d PostgresDialect) TimestampType() string
- func (d PostgresDialect) UpsertSuffix(conflictColumns []string, updateColumns []string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresDialect ¶
type PostgresDialect struct{}
PostgresDialect implements the SQL dialect for PostgreSQL.
func (PostgresDialect) AutoIncrement ¶
func (d PostgresDialect) AutoIncrement() string
func (PostgresDialect) BlobType ¶
func (d PostgresDialect) BlobType() string
func (PostgresDialect) Migrations ¶
func (d PostgresDialect) Migrations() []string
func (PostgresDialect) Name ¶
func (d PostgresDialect) Name() string
func (PostgresDialect) Now ¶
func (d PostgresDialect) Now() string
func (PostgresDialect) Placeholder ¶
func (d PostgresDialect) Placeholder(n int) string
func (PostgresDialect) TextType ¶
func (d PostgresDialect) TextType() string
func (PostgresDialect) TimestampType ¶
func (d PostgresDialect) TimestampType() string
func (PostgresDialect) UpsertSuffix ¶
func (d PostgresDialect) UpsertSuffix(conflictColumns []string, updateColumns []string) string
Click to show internal directories.
Click to hide internal directories.