table

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Album = newAlbumTable("public", "album", "")
View Source
var AlbumArtist = newAlbumArtistTable("public", "album_artist", "")
View Source
var AlbumImage = newAlbumImageTable("public", "album_image", "")
View Source
var Artist = newArtistTable("public", "artist", "")
View Source
var ArtistImage = newArtistImageTable("public", "artist_image", "")
View Source
var PlayedAlbum = newPlayedAlbumTable("public", "played_album", "")
View Source
var PlayedAlbumArtist = newPlayedAlbumArtistTable("public", "played_album_artist", "")
View Source
var PlayedAlbumImage = newPlayedAlbumImageTable("public", "played_album_image", "")
View Source
var Playlist = newPlaylistTable("public", "playlist", "")
View Source
var PlaylistImage = newPlaylistImageTable("public", "playlist_image", "")
View Source
var PlaylistTrack = newPlaylistTrackTable("public", "playlist_track", "")
View Source
var Syncrun = newSyncrunTable("public", "syncrun", "")
View Source
var Track = newTrackTable("public", "track", "")
View Source
var TrackArtist = newTrackArtistTable("public", "track_artist", "")

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 AlbumArtistTable

type AlbumArtistTable struct {
	EXCLUDED albumArtistTable
	// contains filtered or unexported fields
}

func (AlbumArtistTable) AS

AS creates new AlbumArtistTable with assigned alias

func (AlbumArtistTable) FromSchema

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

Schema creates new AlbumArtistTable with assigned schema name

func (AlbumArtistTable) WithPrefix

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

WithPrefix creates new AlbumArtistTable with assigned table prefix

func (AlbumArtistTable) WithSuffix

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

WithSuffix creates new AlbumArtistTable with assigned table suffix

type AlbumImageTable added in v0.4.1

type AlbumImageTable struct {
	EXCLUDED albumImageTable
	// contains filtered or unexported fields
}

func (AlbumImageTable) AS added in v0.4.1

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

AS creates new AlbumImageTable with assigned alias

func (AlbumImageTable) FromSchema added in v0.4.1

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

Schema creates new AlbumImageTable with assigned schema name

func (AlbumImageTable) WithPrefix added in v0.4.1

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

WithPrefix creates new AlbumImageTable with assigned table prefix

func (AlbumImageTable) WithSuffix added in v0.4.1

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

WithSuffix creates new AlbumImageTable with assigned table suffix

type AlbumTable

type AlbumTable struct {
	EXCLUDED albumTable
	// contains filtered or unexported fields
}

func (AlbumTable) AS

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

AS creates new AlbumTable with assigned alias

func (AlbumTable) FromSchema

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

Schema creates new AlbumTable with assigned schema name

func (AlbumTable) WithPrefix

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

WithPrefix creates new AlbumTable with assigned table prefix

func (AlbumTable) WithSuffix

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

WithSuffix creates new AlbumTable with assigned table suffix

type ArtistImageTable added in v0.4.1

type ArtistImageTable struct {
	EXCLUDED artistImageTable
	// contains filtered or unexported fields
}

func (ArtistImageTable) AS added in v0.4.1

AS creates new ArtistImageTable with assigned alias

func (ArtistImageTable) FromSchema added in v0.4.1

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

Schema creates new ArtistImageTable with assigned schema name

func (ArtistImageTable) WithPrefix added in v0.4.1

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

WithPrefix creates new ArtistImageTable with assigned table prefix

func (ArtistImageTable) WithSuffix added in v0.4.1

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

WithSuffix creates new ArtistImageTable with assigned table suffix

type ArtistTable

type ArtistTable struct {
	EXCLUDED artistTable
	// contains filtered or unexported fields
}

func (ArtistTable) AS

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

AS creates new ArtistTable with assigned alias

func (ArtistTable) FromSchema

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

Schema creates new ArtistTable with assigned schema name

func (ArtistTable) WithPrefix

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

WithPrefix creates new ArtistTable with assigned table prefix

func (ArtistTable) WithSuffix

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

WithSuffix creates new ArtistTable with assigned table suffix

type PlayedAlbumArtistTable

type PlayedAlbumArtistTable struct {
	EXCLUDED playedAlbumArtistTable
	// contains filtered or unexported fields
}

func (PlayedAlbumArtistTable) AS

AS creates new PlayedAlbumArtistTable with assigned alias

func (PlayedAlbumArtistTable) FromSchema

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

Schema creates new PlayedAlbumArtistTable with assigned schema name

func (PlayedAlbumArtistTable) WithPrefix

WithPrefix creates new PlayedAlbumArtistTable with assigned table prefix

func (PlayedAlbumArtistTable) WithSuffix

WithSuffix creates new PlayedAlbumArtistTable with assigned table suffix

type PlayedAlbumImageTable added in v0.4.1

type PlayedAlbumImageTable struct {
	EXCLUDED playedAlbumImageTable
	// contains filtered or unexported fields
}

func (PlayedAlbumImageTable) AS added in v0.4.1

AS creates new PlayedAlbumImageTable with assigned alias

func (PlayedAlbumImageTable) FromSchema added in v0.4.1

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

Schema creates new PlayedAlbumImageTable with assigned schema name

func (PlayedAlbumImageTable) WithPrefix added in v0.4.1

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

WithPrefix creates new PlayedAlbumImageTable with assigned table prefix

func (PlayedAlbumImageTable) WithSuffix added in v0.4.1

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

WithSuffix creates new PlayedAlbumImageTable with assigned table suffix

type PlayedAlbumTable

type PlayedAlbumTable struct {
	EXCLUDED playedAlbumTable
	// contains filtered or unexported fields
}

func (PlayedAlbumTable) AS

AS creates new PlayedAlbumTable with assigned alias

func (PlayedAlbumTable) FromSchema

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

Schema creates new PlayedAlbumTable with assigned schema name

func (PlayedAlbumTable) WithPrefix

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

WithPrefix creates new PlayedAlbumTable with assigned table prefix

func (PlayedAlbumTable) WithSuffix

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

WithSuffix creates new PlayedAlbumTable with assigned table suffix

type PlaylistImageTable added in v0.4.1

type PlaylistImageTable struct {
	EXCLUDED playlistImageTable
	// contains filtered or unexported fields
}

func (PlaylistImageTable) AS added in v0.4.1

AS creates new PlaylistImageTable with assigned alias

func (PlaylistImageTable) FromSchema added in v0.4.1

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

Schema creates new PlaylistImageTable with assigned schema name

func (PlaylistImageTable) WithPrefix added in v0.4.1

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

WithPrefix creates new PlaylistImageTable with assigned table prefix

func (PlaylistImageTable) WithSuffix added in v0.4.1

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

WithSuffix creates new PlaylistImageTable with assigned table suffix

type PlaylistTable

type PlaylistTable struct {
	EXCLUDED playlistTable
	// contains filtered or unexported fields
}

func (PlaylistTable) AS

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

AS creates new PlaylistTable with assigned alias

func (PlaylistTable) FromSchema

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

Schema creates new PlaylistTable with assigned schema name

func (PlaylistTable) WithPrefix

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

WithPrefix creates new PlaylistTable with assigned table prefix

func (PlaylistTable) WithSuffix

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

WithSuffix creates new PlaylistTable with assigned table suffix

type PlaylistTrackTable

type PlaylistTrackTable struct {
	EXCLUDED playlistTrackTable
	// contains filtered or unexported fields
}

func (PlaylistTrackTable) AS

AS creates new PlaylistTrackTable with assigned alias

func (PlaylistTrackTable) FromSchema

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

Schema creates new PlaylistTrackTable with assigned schema name

func (PlaylistTrackTable) WithPrefix

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

WithPrefix creates new PlaylistTrackTable with assigned table prefix

func (PlaylistTrackTable) WithSuffix

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

WithSuffix creates new PlaylistTrackTable with assigned table suffix

type SyncrunTable

type SyncrunTable struct {
	EXCLUDED syncrunTable
	// contains filtered or unexported fields
}

func (SyncrunTable) AS

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

AS creates new SyncrunTable with assigned alias

func (SyncrunTable) FromSchema

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

Schema creates new SyncrunTable with assigned schema name

func (SyncrunTable) WithPrefix

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

WithPrefix creates new SyncrunTable with assigned table prefix

func (SyncrunTable) WithSuffix

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

WithSuffix creates new SyncrunTable with assigned table suffix

type TrackArtistTable

type TrackArtistTable struct {
	EXCLUDED trackArtistTable
	// contains filtered or unexported fields
}

func (TrackArtistTable) AS

AS creates new TrackArtistTable with assigned alias

func (TrackArtistTable) FromSchema

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

Schema creates new TrackArtistTable with assigned schema name

func (TrackArtistTable) WithPrefix

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

WithPrefix creates new TrackArtistTable with assigned table prefix

func (TrackArtistTable) WithSuffix

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

WithSuffix creates new TrackArtistTable with assigned table suffix

type TrackTable

type TrackTable struct {
	EXCLUDED trackTable
	// contains filtered or unexported fields
}

func (TrackTable) AS

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

AS creates new TrackTable with assigned alias

func (TrackTable) FromSchema

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

Schema creates new TrackTable with assigned schema name

func (TrackTable) WithPrefix

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

WithPrefix creates new TrackTable with assigned table prefix

func (TrackTable) WithSuffix

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

WithSuffix creates new TrackTable with assigned table suffix

Jump to

Keyboard shortcuts

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