helpers

package
v0.0.0-...-4e6cce8 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommentLikePayloadPreloadLevels = struct {
	CommentLike string
}{
	CommentLike: "commentLike",
}
View Source
var CommentPayloadPreloadLevels = struct {
	Comment string
}{
	Comment: "comment",
}
View Source
var DefaultLevels = struct {
	EdgesNode string
}{
	EdgesNode: "edges.node",
}
View Source
var FriendshipPayloadPreloadLevels = struct {
	Friendship string
}{
	Friendship: "friendship",
}
View Source
var ImagePayloadPreloadLevels = struct {
	Image string
}{
	Image: "image",
}
View Source
var ImageVariationPayloadPreloadLevels = struct {
	ImageVariation string
}{
	ImageVariation: "imageVariation",
}
View Source
var LikePayloadPreloadLevels = struct {
	Like string
}{
	Like: "like",
}
View Source
var PostPayloadPreloadLevels = struct {
	Post string
}{
	Post: "post",
}
View Source
var TablePreloadMap = map[string]map[string]boilergql.ColumnSetting{
	models.TableNames.Comment: {
		"commentLikes": {
			Name:                  models.CommentRels.CommentLikes,
			RelationshipModelName: models.TableNames.CommentLike,
			IDAvailable:           false,
		},
		"post": {
			Name:                  models.CommentRels.Post,
			RelationshipModelName: models.TableNames.Post,
			IDAvailable:           true,
		},
		"user": {
			Name:                  models.CommentRels.User,
			RelationshipModelName: models.TableNames.User,
			IDAvailable:           true,
		},
	},
	models.TableNames.CommentLike: {
		"comment": {
			Name:                  models.CommentLikeRels.Comment,
			RelationshipModelName: models.TableNames.Comment,
			IDAvailable:           true,
		},
		"user": {
			Name:                  models.CommentLikeRels.User,
			RelationshipModelName: models.TableNames.User,
			IDAvailable:           true,
		},
	},
	models.TableNames.Friendship: {
		"users": {
			Name:                  models.FriendshipRels.Users,
			RelationshipModelName: models.TableNames.User,
			IDAvailable:           false,
		},
	},
	models.TableNames.Image: {
		"imageVariations": {
			Name:                  models.ImageRels.ImageVariations,
			RelationshipModelName: models.TableNames.ImageVariation,
			IDAvailable:           false,
		},
		"post": {
			Name:                  models.ImageRels.Post,
			RelationshipModelName: models.TableNames.Post,
			IDAvailable:           true,
		},
	},
	models.TableNames.ImageVariation: {
		"image": {
			Name:                  models.ImageVariationRels.Image,
			RelationshipModelName: models.TableNames.Image,
			IDAvailable:           true,
		},
	},
	models.TableNames.Like: {
		"post": {
			Name:                  models.LikeRels.Post,
			RelationshipModelName: models.TableNames.Post,
			IDAvailable:           true,
		},
		"user": {
			Name:                  models.LikeRels.User,
			RelationshipModelName: models.TableNames.User,
			IDAvailable:           true,
		},
	},
	models.TableNames.Post: {
		"comments": {
			Name:                  models.PostRels.Comments,
			RelationshipModelName: models.TableNames.Comment,
			IDAvailable:           false,
		},
		"images": {
			Name:                  models.PostRels.Images,
			RelationshipModelName: models.TableNames.Image,
			IDAvailable:           false,
		},
		"likes": {
			Name:                  models.PostRels.Likes,
			RelationshipModelName: models.TableNames.Like,
			IDAvailable:           false,
		},
		"user": {
			Name:                  models.PostRels.User,
			RelationshipModelName: models.TableNames.User,
			IDAvailable:           true,
		},
	},
	models.TableNames.User: {
		"commentLikes": {
			Name:                  models.UserRels.CommentLikes,
			RelationshipModelName: models.TableNames.CommentLike,
			IDAvailable:           false,
		},
		"comments": {
			Name:                  models.UserRels.Comments,
			RelationshipModelName: models.TableNames.Comment,
			IDAvailable:           false,
		},
		"friendships": {
			Name:                  models.UserRels.Friendships,
			RelationshipModelName: models.TableNames.Friendship,
			IDAvailable:           false,
		},
		"likes": {
			Name:                  models.UserRels.Likes,
			RelationshipModelName: models.TableNames.Like,
			IDAvailable:           false,
		},
		"posts": {
			Name:                  models.UserRels.Posts,
			RelationshipModelName: models.TableNames.Post,
			IDAvailable:           false,
		},
	},
}
View Source
var UserPayloadPreloadLevels = struct {
	User string
}{
	User: "user",
}

Functions

func BooleanFilterToMods

func BooleanFilterToMods(m *graphql_models.BooleanFilter, column string) []qm.QueryMod

func CommentConnection

func CommentConnection(
	ctx context.Context,
	db *sql.DB,
	originalMods []qm.QueryMod,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.CommentOrdering,
) (*graphql_models.CommentConnection, error)

func CommentCreateInputToBoiler

func CommentCreateInputToBoiler(
	m *graphql_models.CommentCreateInput,
) *models.Comment

func CommentCreateInputToBoilerWhitelist

func CommentCreateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func CommentCreateInputToModelM

func CommentCreateInputToModelM(
	input map[string]interface{},
	m graphql_models.CommentCreateInput,
) models.M

func CommentCreateInputsToBoiler

func CommentCreateInputsToBoiler(am []*graphql_models.CommentCreateInput) []*models.Comment

func CommentCursorMods

func CommentCursorMods(ordering []*graphql_models.CommentOrdering, cursor *string, sign boilergql.ComparisonSign) []qm.QueryMod

func CommentCursorType

func CommentCursorType(ordering []*graphql_models.CommentOrdering) boilergql.CursorType

func CommentEdgeConverter

func CommentEdgeConverter(pagination boilergql.ConnectionPagination, ordering []*graphql_models.CommentOrdering) func(*models.Comment, int) *graphql_models.CommentEdge

func CommentFilterToMods

func CommentFilterToMods(m *graphql_models.CommentFilter) []qm.QueryMod

func CommentID

func CommentID(v string) string

func CommentIDToGraphQL

func CommentIDToGraphQL(v string) string

func CommentIDs

func CommentIDs(a []string) []string

func CommentLikeConnection

func CommentLikeConnection(
	ctx context.Context,
	db *sql.DB,
	originalMods []qm.QueryMod,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.CommentLikeOrdering,
) (*graphql_models.CommentLikeConnection, error)

func CommentLikeCreateInputToBoilerWhitelist

func CommentLikeCreateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func CommentLikeCreateInputToModelM

func CommentLikeCreateInputToModelM(
	input map[string]interface{},
	m graphql_models.CommentLikeCreateInput,
) models.M

func CommentLikeCreateInputsToBoiler

func CommentLikeCreateInputsToBoiler(am []*graphql_models.CommentLikeCreateInput) []*models.CommentLike

func CommentLikeCursorMods

func CommentLikeCursorMods(ordering []*graphql_models.CommentLikeOrdering, cursor *string, sign boilergql.ComparisonSign) []qm.QueryMod

func CommentLikeCursorType

func CommentLikeCursorType(ordering []*graphql_models.CommentLikeOrdering) boilergql.CursorType

func CommentLikeEdgeConverter

func CommentLikeEdgeConverter(pagination boilergql.ConnectionPagination, ordering []*graphql_models.CommentLikeOrdering) func(*models.CommentLike, int) *graphql_models.CommentLikeEdge

func CommentLikeFilterToMods

func CommentLikeFilterToMods(m *graphql_models.CommentLikeFilter) []qm.QueryMod

func CommentLikeID

func CommentLikeID(v string) string

func CommentLikeIDToGraphQL

func CommentLikeIDToGraphQL(v string) string

func CommentLikeIDs

func CommentLikeIDs(a []string) []string

func CommentLikePaginationMods

func CommentLikePaginationMods(pagination boilergql.ConnectionPagination, ordering []*graphql_models.CommentLikeOrdering) ([]qm.QueryMod, error)

func CommentLikePaginationModsBase

func CommentLikePaginationModsBase(pagination boilergql.ConnectionPagination, ordering []*graphql_models.CommentLikeOrdering, reverse bool, limit int) (*string, []qm.QueryMod)

func CommentLikeReversePageInformation

func CommentLikeReversePageInformation(
	ctx context.Context,
	db *sql.DB,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.CommentLikeOrdering,
) (bool, error)

func CommentLikeSearchToMods

func CommentLikeSearchToMods(search *string) []qm.QueryMod

func CommentLikeSortCursorValue

func CommentLikeSortCursorValue(sort graphql_models.CommentLikeSort, m *graphql_models.CommentLike) interface{}

func CommentLikeSortDirection

func CommentLikeSortDirection(ordering []*graphql_models.CommentLikeOrdering) boilergql.SortDirection

func CommentLikeSortMods

func CommentLikeSortMods(ordering []*graphql_models.CommentLikeOrdering, reverse bool, defaultDirection boilergql.SortDirection) []qm.QueryMod

func CommentLikeSortToNullDotString

func CommentLikeSortToNullDotString(v graphql_models.CommentLikeSort) null.String

func CommentLikeSortToString

func CommentLikeSortToString(v graphql_models.CommentLikeSort) string

func CommentLikeSortValueFromCursorValue

func CommentLikeSortValueFromCursorValue(cursorValue string) (string, interface{})

func CommentLikeStartEndCursor

func CommentLikeStartEndCursor(edges []*graphql_models.CommentLikeEdge) (*string, *string)

func CommentLikeToGraphQL

func CommentLikeToGraphQL(m *models.CommentLike) *graphql_models.CommentLike

func CommentLikeUpdateInputToBoilerWhitelist

func CommentLikeUpdateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func CommentLikeUpdateInputToModelM

func CommentLikeUpdateInputToModelM(
	input map[string]interface{},
	m graphql_models.CommentLikeUpdateInput,
) models.M

func CommentLikeUpdateInputsToBoiler

func CommentLikeUpdateInputsToBoiler(am []*graphql_models.CommentLikeUpdateInput) []*models.CommentLike

func CommentLikeWhereSubqueryToMods

func CommentLikeWhereSubqueryToMods(m *graphql_models.CommentLikeWhere, foreignColumn string, parentTable string) []qm.QueryMod

func CommentLikeWhereToMods

func CommentLikeWhereToMods(m *graphql_models.CommentLikeWhere, withPrimaryID bool, parentTable string) []qm.QueryMod

func CommentLikeWithNullDotStringID

func CommentLikeWithNullDotStringID(id null.String) *graphql_models.CommentLike

func CommentLikeWithStringID

func CommentLikeWithStringID(id string) *graphql_models.CommentLike

func CommentLikesToGraphQL

func CommentLikesToGraphQL(am []*models.CommentLike) []*graphql_models.CommentLike

func CommentPaginationMods

func CommentPaginationMods(pagination boilergql.ConnectionPagination, ordering []*graphql_models.CommentOrdering) ([]qm.QueryMod, error)

func CommentPaginationModsBase

func CommentPaginationModsBase(pagination boilergql.ConnectionPagination, ordering []*graphql_models.CommentOrdering, reverse bool, limit int) (*string, []qm.QueryMod)

func CommentReversePageInformation

func CommentReversePageInformation(
	ctx context.Context,
	db *sql.DB,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.CommentOrdering,
) (bool, error)

func CommentSearchToMods

func CommentSearchToMods(search *string) []qm.QueryMod

func CommentSortCursorValue

func CommentSortCursorValue(sort graphql_models.CommentSort, m *graphql_models.Comment) interface{}

func CommentSortDirection

func CommentSortDirection(ordering []*graphql_models.CommentOrdering) boilergql.SortDirection

func CommentSortMods

func CommentSortMods(ordering []*graphql_models.CommentOrdering, reverse bool, defaultDirection boilergql.SortDirection) []qm.QueryMod

func CommentSortToNullDotString

func CommentSortToNullDotString(v graphql_models.CommentSort) null.String

func CommentSortToString

func CommentSortToString(v graphql_models.CommentSort) string

func CommentSortValueFromCursorValue

func CommentSortValueFromCursorValue(cursorValue string) (string, interface{})

func CommentStartEndCursor

func CommentStartEndCursor(edges []*graphql_models.CommentEdge) (*string, *string)

func CommentToGraphQL

func CommentToGraphQL(m *models.Comment) *graphql_models.Comment

func CommentUpdateInputToBoiler

func CommentUpdateInputToBoiler(
	m *graphql_models.CommentUpdateInput,
) *models.Comment

func CommentUpdateInputToBoilerWhitelist

func CommentUpdateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func CommentUpdateInputToModelM

func CommentUpdateInputToModelM(
	input map[string]interface{},
	m graphql_models.CommentUpdateInput,
) models.M

func CommentUpdateInputsToBoiler

func CommentUpdateInputsToBoiler(am []*graphql_models.CommentUpdateInput) []*models.Comment

func CommentWhereSubqueryToMods

func CommentWhereSubqueryToMods(m *graphql_models.CommentWhere, foreignColumn string, parentTable string) []qm.QueryMod

func CommentWhereToMods

func CommentWhereToMods(m *graphql_models.CommentWhere, withPrimaryID bool, parentTable string) []qm.QueryMod

func CommentWithNullDotStringID

func CommentWithNullDotStringID(id null.String) *graphql_models.Comment

func CommentWithStringID

func CommentWithStringID(id string) *graphql_models.Comment

func CommentsToGraphQL

func CommentsToGraphQL(am []*models.Comment) []*graphql_models.Comment

func FloatFilterToMods

func FloatFilterToMods(m *graphql_models.FloatFilter, column string) []qm.QueryMod

func FriendshipConnection

func FriendshipConnection(
	ctx context.Context,
	db *sql.DB,
	originalMods []qm.QueryMod,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.FriendshipOrdering,
) (*graphql_models.FriendshipConnection, error)

func FriendshipCreateInputToBoiler

func FriendshipCreateInputToBoiler(
	m *graphql_models.FriendshipCreateInput,
) *models.Friendship

func FriendshipCreateInputToBoilerWhitelist

func FriendshipCreateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func FriendshipCreateInputToModelM

func FriendshipCreateInputToModelM(
	input map[string]interface{},
	m graphql_models.FriendshipCreateInput,
) models.M

func FriendshipCreateInputsToBoiler

func FriendshipCreateInputsToBoiler(am []*graphql_models.FriendshipCreateInput) []*models.Friendship

func FriendshipCursorMods

func FriendshipCursorMods(ordering []*graphql_models.FriendshipOrdering, cursor *string, sign boilergql.ComparisonSign) []qm.QueryMod

func FriendshipCursorType

func FriendshipCursorType(ordering []*graphql_models.FriendshipOrdering) boilergql.CursorType

func FriendshipEdgeConverter

func FriendshipEdgeConverter(pagination boilergql.ConnectionPagination, ordering []*graphql_models.FriendshipOrdering) func(*models.Friendship, int) *graphql_models.FriendshipEdge

func FriendshipFilterToMods

func FriendshipFilterToMods(m *graphql_models.FriendshipFilter) []qm.QueryMod

func FriendshipID

func FriendshipID(v string) string

func FriendshipIDToGraphQL

func FriendshipIDToGraphQL(v string) string

func FriendshipIDs

func FriendshipIDs(a []string) []string

func FriendshipPaginationMods

func FriendshipPaginationMods(pagination boilergql.ConnectionPagination, ordering []*graphql_models.FriendshipOrdering) ([]qm.QueryMod, error)

func FriendshipPaginationModsBase

func FriendshipPaginationModsBase(pagination boilergql.ConnectionPagination, ordering []*graphql_models.FriendshipOrdering, reverse bool, limit int) (*string, []qm.QueryMod)

func FriendshipReversePageInformation

func FriendshipReversePageInformation(
	ctx context.Context,
	db *sql.DB,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.FriendshipOrdering,
) (bool, error)

func FriendshipSearchToMods

func FriendshipSearchToMods(search *string) []qm.QueryMod

func FriendshipSortCursorValue

func FriendshipSortCursorValue(sort graphql_models.FriendshipSort, m *graphql_models.Friendship) interface{}

func FriendshipSortDirection

func FriendshipSortDirection(ordering []*graphql_models.FriendshipOrdering) boilergql.SortDirection

func FriendshipSortMods

func FriendshipSortMods(ordering []*graphql_models.FriendshipOrdering, reverse bool, defaultDirection boilergql.SortDirection) []qm.QueryMod

func FriendshipSortToNullDotString

func FriendshipSortToNullDotString(v graphql_models.FriendshipSort) null.String

func FriendshipSortToString

func FriendshipSortToString(v graphql_models.FriendshipSort) string

func FriendshipSortValueFromCursorValue

func FriendshipSortValueFromCursorValue(cursorValue string) (string, interface{})

func FriendshipStartEndCursor

func FriendshipStartEndCursor(edges []*graphql_models.FriendshipEdge) (*string, *string)

func FriendshipToGraphQL

func FriendshipToGraphQL(m *models.Friendship) *graphql_models.Friendship

func FriendshipUpdateInputToBoiler

func FriendshipUpdateInputToBoiler(
	m *graphql_models.FriendshipUpdateInput,
) *models.Friendship

func FriendshipUpdateInputToBoilerWhitelist

func FriendshipUpdateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func FriendshipUpdateInputToModelM

func FriendshipUpdateInputToModelM(
	input map[string]interface{},
	m graphql_models.FriendshipUpdateInput,
) models.M

func FriendshipUpdateInputsToBoiler

func FriendshipUpdateInputsToBoiler(am []*graphql_models.FriendshipUpdateInput) []*models.Friendship

func FriendshipWhereSubqueryToMods

func FriendshipWhereSubqueryToMods(m *graphql_models.FriendshipWhere, foreignColumn string, parentTable string) []qm.QueryMod

func FriendshipWhereToMods

func FriendshipWhereToMods(m *graphql_models.FriendshipWhere, withPrimaryID bool, parentTable string) []qm.QueryMod

func FriendshipWithNullDotStringID

func FriendshipWithNullDotStringID(id null.String) *graphql_models.Friendship

func FriendshipWithStringID

func FriendshipWithStringID(id string) *graphql_models.Friendship

func FriendshipsToGraphQL

func FriendshipsToGraphQL(am []*models.Friendship) []*graphql_models.Friendship

func FromCommentCursor

func FromCommentCursor(cursor string, comparisonSign boilergql.ComparisonSign) []qm.QueryMod

func FromCommentLikeCursor

func FromCommentLikeCursor(cursor string, comparisonSign boilergql.ComparisonSign) []qm.QueryMod

func FromFriendshipCursor

func FromFriendshipCursor(cursor string, comparisonSign boilergql.ComparisonSign) []qm.QueryMod

func FromImageCursor

func FromImageCursor(cursor string, comparisonSign boilergql.ComparisonSign) []qm.QueryMod

func FromImageVariationCursor

func FromImageVariationCursor(cursor string, comparisonSign boilergql.ComparisonSign) []qm.QueryMod

func FromLikeCursor

func FromLikeCursor(cursor string, comparisonSign boilergql.ComparisonSign) []qm.QueryMod

func FromPostCursor

func FromPostCursor(cursor string, comparisonSign boilergql.ComparisonSign) []qm.QueryMod

func FromUserCursor

func FromUserCursor(cursor string, comparisonSign boilergql.ComparisonSign) []qm.QueryMod

func GetCommentLikeNodePreloadMods

func GetCommentLikeNodePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetCommentLikePreloadMods

func GetCommentLikePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetCommentLikePreloadModsWithLevel

func GetCommentLikePreloadModsWithLevel(ctx context.Context, level string) (queryMods []qm.QueryMod)

func GetCommentNodePreloadMods

func GetCommentNodePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetCommentPreloadMods

func GetCommentPreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetCommentPreloadModsWithLevel

func GetCommentPreloadModsWithLevel(ctx context.Context, level string) (queryMods []qm.QueryMod)

func GetFriendshipNodePreloadMods

func GetFriendshipNodePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetFriendshipPreloadMods

func GetFriendshipPreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetFriendshipPreloadModsWithLevel

func GetFriendshipPreloadModsWithLevel(ctx context.Context, level string) (queryMods []qm.QueryMod)

func GetImageNodePreloadMods

func GetImageNodePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetImagePreloadMods

func GetImagePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetImagePreloadModsWithLevel

func GetImagePreloadModsWithLevel(ctx context.Context, level string) (queryMods []qm.QueryMod)

func GetImageVariationNodePreloadMods

func GetImageVariationNodePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetImageVariationPreloadMods

func GetImageVariationPreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetImageVariationPreloadModsWithLevel

func GetImageVariationPreloadModsWithLevel(ctx context.Context, level string) (queryMods []qm.QueryMod)

func GetLikeNodePreloadMods

func GetLikeNodePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetLikePreloadMods

func GetLikePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetLikePreloadModsWithLevel

func GetLikePreloadModsWithLevel(ctx context.Context, level string) (queryMods []qm.QueryMod)

func GetPostNodePreloadMods

func GetPostNodePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetPostPreloadMods

func GetPostPreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetPostPreloadModsWithLevel

func GetPostPreloadModsWithLevel(ctx context.Context, level string) (queryMods []qm.QueryMod)

func GetUserNodePreloadMods

func GetUserNodePreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetUserPreloadMods

func GetUserPreloadMods(ctx context.Context) (queryMods []qm.QueryMod)

func GetUserPreloadModsWithLevel

func GetUserPreloadModsWithLevel(ctx context.Context, level string) (queryMods []qm.QueryMod)

func IDFilterToMods

func IDFilterToMods(m *graphql_models.IDFilter, column string) []qm.QueryMod

func ImageConnection

func ImageConnection(
	ctx context.Context,
	db *sql.DB,
	originalMods []qm.QueryMod,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.ImageOrdering,
) (*graphql_models.ImageConnection, error)

func ImageCreateInputToBoiler

func ImageCreateInputToBoiler(
	m *graphql_models.ImageCreateInput,
) *models.Image

func ImageCreateInputToBoilerWhitelist

func ImageCreateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func ImageCreateInputToModelM

func ImageCreateInputToModelM(
	input map[string]interface{},
	m graphql_models.ImageCreateInput,
) models.M

func ImageCreateInputsToBoiler

func ImageCreateInputsToBoiler(am []*graphql_models.ImageCreateInput) []*models.Image

func ImageCursorMods

func ImageCursorMods(ordering []*graphql_models.ImageOrdering, cursor *string, sign boilergql.ComparisonSign) []qm.QueryMod

func ImageCursorType

func ImageCursorType(ordering []*graphql_models.ImageOrdering) boilergql.CursorType

func ImageEdgeConverter

func ImageEdgeConverter(pagination boilergql.ConnectionPagination, ordering []*graphql_models.ImageOrdering) func(*models.Image, int) *graphql_models.ImageEdge

func ImageFilterToMods

func ImageFilterToMods(m *graphql_models.ImageFilter) []qm.QueryMod

func ImageID

func ImageID(v string) string

func ImageIDToGraphQL

func ImageIDToGraphQL(v string) string

func ImageIDs

func ImageIDs(a []string) []string

func ImagePaginationMods

func ImagePaginationMods(pagination boilergql.ConnectionPagination, ordering []*graphql_models.ImageOrdering) ([]qm.QueryMod, error)

func ImagePaginationModsBase

func ImagePaginationModsBase(pagination boilergql.ConnectionPagination, ordering []*graphql_models.ImageOrdering, reverse bool, limit int) (*string, []qm.QueryMod)

func ImageReversePageInformation

func ImageReversePageInformation(
	ctx context.Context,
	db *sql.DB,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.ImageOrdering,
) (bool, error)

func ImageSearchToMods

func ImageSearchToMods(search *string) []qm.QueryMod

func ImageSortCursorValue

func ImageSortCursorValue(sort graphql_models.ImageSort, m *graphql_models.Image) interface{}

func ImageSortDirection

func ImageSortDirection(ordering []*graphql_models.ImageOrdering) boilergql.SortDirection

func ImageSortMods

func ImageSortMods(ordering []*graphql_models.ImageOrdering, reverse bool, defaultDirection boilergql.SortDirection) []qm.QueryMod

func ImageSortToNullDotString

func ImageSortToNullDotString(v graphql_models.ImageSort) null.String

func ImageSortToString

func ImageSortToString(v graphql_models.ImageSort) string

func ImageSortValueFromCursorValue

func ImageSortValueFromCursorValue(cursorValue string) (string, interface{})

func ImageStartEndCursor

func ImageStartEndCursor(edges []*graphql_models.ImageEdge) (*string, *string)

func ImageToGraphQL

func ImageToGraphQL(m *models.Image) *graphql_models.Image

func ImageUpdateInputToBoiler

func ImageUpdateInputToBoiler(
	m *graphql_models.ImageUpdateInput,
) *models.Image

func ImageUpdateInputToBoilerWhitelist

func ImageUpdateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func ImageUpdateInputToModelM

func ImageUpdateInputToModelM(
	input map[string]interface{},
	m graphql_models.ImageUpdateInput,
) models.M

func ImageUpdateInputsToBoiler

func ImageUpdateInputsToBoiler(am []*graphql_models.ImageUpdateInput) []*models.Image

func ImageVariationConnection

func ImageVariationConnection(
	ctx context.Context,
	db *sql.DB,
	originalMods []qm.QueryMod,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.ImageVariationOrdering,
) (*graphql_models.ImageVariationConnection, error)

func ImageVariationCreateInputToBoilerWhitelist

func ImageVariationCreateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func ImageVariationCreateInputToModelM

func ImageVariationCreateInputToModelM(
	input map[string]interface{},
	m graphql_models.ImageVariationCreateInput,
) models.M

func ImageVariationCursorMods

func ImageVariationCursorMods(ordering []*graphql_models.ImageVariationOrdering, cursor *string, sign boilergql.ComparisonSign) []qm.QueryMod

func ImageVariationCursorType

func ImageVariationCursorType(ordering []*graphql_models.ImageVariationOrdering) boilergql.CursorType

func ImageVariationEdgeConverter

func ImageVariationEdgeConverter(pagination boilergql.ConnectionPagination, ordering []*graphql_models.ImageVariationOrdering) func(*models.ImageVariation, int) *graphql_models.ImageVariationEdge

func ImageVariationFilterToMods

func ImageVariationFilterToMods(m *graphql_models.ImageVariationFilter) []qm.QueryMod

func ImageVariationID

func ImageVariationID(v string) string

func ImageVariationIDToGraphQL

func ImageVariationIDToGraphQL(v string) string

func ImageVariationIDs

func ImageVariationIDs(a []string) []string

func ImageVariationPaginationMods

func ImageVariationPaginationMods(pagination boilergql.ConnectionPagination, ordering []*graphql_models.ImageVariationOrdering) ([]qm.QueryMod, error)

func ImageVariationPaginationModsBase

func ImageVariationPaginationModsBase(pagination boilergql.ConnectionPagination, ordering []*graphql_models.ImageVariationOrdering, reverse bool, limit int) (*string, []qm.QueryMod)

func ImageVariationReversePageInformation

func ImageVariationReversePageInformation(
	ctx context.Context,
	db *sql.DB,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.ImageVariationOrdering,
) (bool, error)

func ImageVariationSearchToMods

func ImageVariationSearchToMods(search *string) []qm.QueryMod

func ImageVariationSortCursorValue

func ImageVariationSortCursorValue(sort graphql_models.ImageVariationSort, m *graphql_models.ImageVariation) interface{}

func ImageVariationSortDirection

func ImageVariationSortDirection(ordering []*graphql_models.ImageVariationOrdering) boilergql.SortDirection

func ImageVariationSortMods

func ImageVariationSortMods(ordering []*graphql_models.ImageVariationOrdering, reverse bool, defaultDirection boilergql.SortDirection) []qm.QueryMod

func ImageVariationSortToNullDotString

func ImageVariationSortToNullDotString(v graphql_models.ImageVariationSort) null.String

func ImageVariationSortToString

func ImageVariationSortToString(v graphql_models.ImageVariationSort) string

func ImageVariationSortValueFromCursorValue

func ImageVariationSortValueFromCursorValue(cursorValue string) (string, interface{})

func ImageVariationStartEndCursor

func ImageVariationStartEndCursor(edges []*graphql_models.ImageVariationEdge) (*string, *string)

func ImageVariationUpdateInputToBoilerWhitelist

func ImageVariationUpdateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func ImageVariationUpdateInputToModelM

func ImageVariationUpdateInputToModelM(
	input map[string]interface{},
	m graphql_models.ImageVariationUpdateInput,
) models.M

func ImageVariationWhereSubqueryToMods

func ImageVariationWhereSubqueryToMods(m *graphql_models.ImageVariationWhere, foreignColumn string, parentTable string) []qm.QueryMod

func ImageVariationWhereToMods

func ImageVariationWhereToMods(m *graphql_models.ImageVariationWhere, withPrimaryID bool, parentTable string) []qm.QueryMod

func ImageVariationWithNullDotStringID

func ImageVariationWithNullDotStringID(id null.String) *graphql_models.ImageVariation

func ImageVariationWithStringID

func ImageVariationWithStringID(id string) *graphql_models.ImageVariation

func ImageVariationsToGraphQL

func ImageVariationsToGraphQL(am []*models.ImageVariation) []*graphql_models.ImageVariation

func ImageWhereSubqueryToMods

func ImageWhereSubqueryToMods(m *graphql_models.ImageWhere, foreignColumn string, parentTable string) []qm.QueryMod

func ImageWhereToMods

func ImageWhereToMods(m *graphql_models.ImageWhere, withPrimaryID bool, parentTable string) []qm.QueryMod

func ImageWithNullDotStringID

func ImageWithNullDotStringID(id null.String) *graphql_models.Image

func ImageWithStringID

func ImageWithStringID(id string) *graphql_models.Image

func ImagesToGraphQL

func ImagesToGraphQL(am []*models.Image) []*graphql_models.Image

func IntFilterToMods

func IntFilterToMods(m *graphql_models.IntFilter, column string) []qm.QueryMod

func LikeConnection

func LikeConnection(
	ctx context.Context,
	db *sql.DB,
	originalMods []qm.QueryMod,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.LikeOrdering,
) (*graphql_models.LikeConnection, error)

func LikeCreateInputToBoiler

func LikeCreateInputToBoiler(
	m *graphql_models.LikeCreateInput,
) *models.Like

func LikeCreateInputToBoilerWhitelist

func LikeCreateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func LikeCreateInputToModelM

func LikeCreateInputToModelM(
	input map[string]interface{},
	m graphql_models.LikeCreateInput,
) models.M

func LikeCreateInputsToBoiler

func LikeCreateInputsToBoiler(am []*graphql_models.LikeCreateInput) []*models.Like

func LikeCursorMods

func LikeCursorMods(ordering []*graphql_models.LikeOrdering, cursor *string, sign boilergql.ComparisonSign) []qm.QueryMod

func LikeCursorType

func LikeCursorType(ordering []*graphql_models.LikeOrdering) boilergql.CursorType

func LikeEdgeConverter

func LikeEdgeConverter(pagination boilergql.ConnectionPagination, ordering []*graphql_models.LikeOrdering) func(*models.Like, int) *graphql_models.LikeEdge

func LikeFilterToMods

func LikeFilterToMods(m *graphql_models.LikeFilter) []qm.QueryMod

func LikeID

func LikeID(v string) string

func LikeIDToGraphQL

func LikeIDToGraphQL(v string) string

func LikeIDs

func LikeIDs(a []string) []string

func LikePaginationMods

func LikePaginationMods(pagination boilergql.ConnectionPagination, ordering []*graphql_models.LikeOrdering) ([]qm.QueryMod, error)

func LikePaginationModsBase

func LikePaginationModsBase(pagination boilergql.ConnectionPagination, ordering []*graphql_models.LikeOrdering, reverse bool, limit int) (*string, []qm.QueryMod)

func LikeReversePageInformation

func LikeReversePageInformation(
	ctx context.Context,
	db *sql.DB,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.LikeOrdering,
) (bool, error)

func LikeSearchToMods

func LikeSearchToMods(search *string) []qm.QueryMod

func LikeSortCursorValue

func LikeSortCursorValue(sort graphql_models.LikeSort, m *graphql_models.Like) interface{}

func LikeSortDirection

func LikeSortDirection(ordering []*graphql_models.LikeOrdering) boilergql.SortDirection

func LikeSortMods

func LikeSortMods(ordering []*graphql_models.LikeOrdering, reverse bool, defaultDirection boilergql.SortDirection) []qm.QueryMod

func LikeSortToNullDotString

func LikeSortToNullDotString(v graphql_models.LikeSort) null.String

func LikeSortToString

func LikeSortToString(v graphql_models.LikeSort) string

func LikeSortValueFromCursorValue

func LikeSortValueFromCursorValue(cursorValue string) (string, interface{})

func LikeStartEndCursor

func LikeStartEndCursor(edges []*graphql_models.LikeEdge) (*string, *string)

func LikeToGraphQL

func LikeToGraphQL(m *models.Like) *graphql_models.Like

func LikeUpdateInputToBoiler

func LikeUpdateInputToBoiler(
	m *graphql_models.LikeUpdateInput,
) *models.Like

func LikeUpdateInputToBoilerWhitelist

func LikeUpdateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func LikeUpdateInputToModelM

func LikeUpdateInputToModelM(
	input map[string]interface{},
	m graphql_models.LikeUpdateInput,
) models.M

func LikeUpdateInputsToBoiler

func LikeUpdateInputsToBoiler(am []*graphql_models.LikeUpdateInput) []*models.Like

func LikeWhereSubqueryToMods

func LikeWhereSubqueryToMods(m *graphql_models.LikeWhere, foreignColumn string, parentTable string) []qm.QueryMod

func LikeWhereToMods

func LikeWhereToMods(m *graphql_models.LikeWhere, withPrimaryID bool, parentTable string) []qm.QueryMod

func LikeWithNullDotStringID

func LikeWithNullDotStringID(id null.String) *graphql_models.Like

func LikeWithStringID

func LikeWithStringID(id string) *graphql_models.Like

func LikesToGraphQL

func LikesToGraphQL(am []*models.Like) []*graphql_models.Like

func NullDotStringToCommentLikeSort

func NullDotStringToCommentLikeSort(v null.String) graphql_models.CommentLikeSort

func NullDotStringToCommentSort

func NullDotStringToCommentSort(v null.String) graphql_models.CommentSort

func NullDotStringToFriendshipSort

func NullDotStringToFriendshipSort(v null.String) graphql_models.FriendshipSort

func NullDotStringToImageSort

func NullDotStringToImageSort(v null.String) graphql_models.ImageSort

func NullDotStringToImageVariationSort

func NullDotStringToImageVariationSort(v null.String) graphql_models.ImageVariationSort

func NullDotStringToLikeSort

func NullDotStringToLikeSort(v null.String) graphql_models.LikeSort

func NullDotStringToPointerCommentLikeSort

func NullDotStringToPointerCommentLikeSort(v null.String) *graphql_models.CommentLikeSort

func NullDotStringToPointerCommentSort

func NullDotStringToPointerCommentSort(v null.String) *graphql_models.CommentSort

func NullDotStringToPointerFriendshipSort

func NullDotStringToPointerFriendshipSort(v null.String) *graphql_models.FriendshipSort

func NullDotStringToPointerImageSort

func NullDotStringToPointerImageSort(v null.String) *graphql_models.ImageSort

func NullDotStringToPointerImageVariationSort

func NullDotStringToPointerImageVariationSort(v null.String) *graphql_models.ImageVariationSort

func NullDotStringToPointerLikeSort

func NullDotStringToPointerLikeSort(v null.String) *graphql_models.LikeSort

func NullDotStringToPointerPostSort

func NullDotStringToPointerPostSort(v null.String) *graphql_models.PostSort

func NullDotStringToPointerUserSort

func NullDotStringToPointerUserSort(v null.String) *graphql_models.UserSort

func NullDotStringToPostSort

func NullDotStringToPostSort(v null.String) graphql_models.PostSort

func NullDotStringToUserSort

func NullDotStringToUserSort(v null.String) graphql_models.UserSort

func PointerCommentLikeSortToNullDotString

func PointerCommentLikeSortToNullDotString(v *graphql_models.CommentLikeSort) null.String

func PointerCommentLikeSortToString

func PointerCommentLikeSortToString(v *graphql_models.CommentLikeSort) string

func PointerCommentSortToNullDotString

func PointerCommentSortToNullDotString(v *graphql_models.CommentSort) null.String

func PointerCommentSortToString

func PointerCommentSortToString(v *graphql_models.CommentSort) string

func PointerFriendshipSortToNullDotString

func PointerFriendshipSortToNullDotString(v *graphql_models.FriendshipSort) null.String

func PointerFriendshipSortToString

func PointerFriendshipSortToString(v *graphql_models.FriendshipSort) string

func PointerImageSortToNullDotString

func PointerImageSortToNullDotString(v *graphql_models.ImageSort) null.String

func PointerImageSortToString

func PointerImageSortToString(v *graphql_models.ImageSort) string

func PointerImageVariationSortToNullDotString

func PointerImageVariationSortToNullDotString(v *graphql_models.ImageVariationSort) null.String

func PointerImageVariationSortToString

func PointerImageVariationSortToString(v *graphql_models.ImageVariationSort) string

func PointerLikeSortToNullDotString

func PointerLikeSortToNullDotString(v *graphql_models.LikeSort) null.String

func PointerLikeSortToString

func PointerLikeSortToString(v *graphql_models.LikeSort) string

func PointerPostSortToNullDotString

func PointerPostSortToNullDotString(v *graphql_models.PostSort) null.String

func PointerPostSortToString

func PointerPostSortToString(v *graphql_models.PostSort) string

func PointerUserSortToNullDotString

func PointerUserSortToNullDotString(v *graphql_models.UserSort) null.String

func PointerUserSortToString

func PointerUserSortToString(v *graphql_models.UserSort) string

func PostConnection

func PostConnection(
	ctx context.Context,
	db *sql.DB,
	originalMods []qm.QueryMod,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.PostOrdering,
) (*graphql_models.PostConnection, error)

func PostCreateInputToBoiler

func PostCreateInputToBoiler(
	m *graphql_models.PostCreateInput,
) *models.Post

func PostCreateInputToBoilerWhitelist

func PostCreateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func PostCreateInputToModelM

func PostCreateInputToModelM(
	input map[string]interface{},
	m graphql_models.PostCreateInput,
) models.M

func PostCreateInputsToBoiler

func PostCreateInputsToBoiler(am []*graphql_models.PostCreateInput) []*models.Post

func PostCursorMods

func PostCursorMods(ordering []*graphql_models.PostOrdering, cursor *string, sign boilergql.ComparisonSign) []qm.QueryMod

func PostCursorType

func PostCursorType(ordering []*graphql_models.PostOrdering) boilergql.CursorType

func PostEdgeConverter

func PostEdgeConverter(pagination boilergql.ConnectionPagination, ordering []*graphql_models.PostOrdering) func(*models.Post, int) *graphql_models.PostEdge

func PostFilterToMods

func PostFilterToMods(m *graphql_models.PostFilter) []qm.QueryMod

func PostID

func PostID(v string) string

func PostIDToGraphQL

func PostIDToGraphQL(v string) string

func PostIDs

func PostIDs(a []string) []string

func PostPaginationMods

func PostPaginationMods(pagination boilergql.ConnectionPagination, ordering []*graphql_models.PostOrdering) ([]qm.QueryMod, error)

func PostPaginationModsBase

func PostPaginationModsBase(pagination boilergql.ConnectionPagination, ordering []*graphql_models.PostOrdering, reverse bool, limit int) (*string, []qm.QueryMod)

func PostReversePageInformation

func PostReversePageInformation(
	ctx context.Context,
	db *sql.DB,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.PostOrdering,
) (bool, error)

func PostSearchToMods

func PostSearchToMods(search *string) []qm.QueryMod

func PostSortCursorValue

func PostSortCursorValue(sort graphql_models.PostSort, m *graphql_models.Post) interface{}

func PostSortDirection

func PostSortDirection(ordering []*graphql_models.PostOrdering) boilergql.SortDirection

func PostSortMods

func PostSortMods(ordering []*graphql_models.PostOrdering, reverse bool, defaultDirection boilergql.SortDirection) []qm.QueryMod

func PostSortToNullDotString

func PostSortToNullDotString(v graphql_models.PostSort) null.String

func PostSortToString

func PostSortToString(v graphql_models.PostSort) string

func PostSortValueFromCursorValue

func PostSortValueFromCursorValue(cursorValue string) (string, interface{})

func PostStartEndCursor

func PostStartEndCursor(edges []*graphql_models.PostEdge) (*string, *string)

func PostToGraphQL

func PostToGraphQL(m *models.Post) *graphql_models.Post

func PostUpdateInputToBoiler

func PostUpdateInputToBoiler(
	m *graphql_models.PostUpdateInput,
) *models.Post

func PostUpdateInputToBoilerWhitelist

func PostUpdateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func PostUpdateInputToModelM

func PostUpdateInputToModelM(
	input map[string]interface{},
	m graphql_models.PostUpdateInput,
) models.M

func PostUpdateInputsToBoiler

func PostUpdateInputsToBoiler(am []*graphql_models.PostUpdateInput) []*models.Post

func PostWhereSubqueryToMods

func PostWhereSubqueryToMods(m *graphql_models.PostWhere, foreignColumn string, parentTable string) []qm.QueryMod

func PostWhereToMods

func PostWhereToMods(m *graphql_models.PostWhere, withPrimaryID bool, parentTable string) []qm.QueryMod

func PostWithNullDotStringID

func PostWithNullDotStringID(id null.String) *graphql_models.Post

func PostWithStringID

func PostWithStringID(id string) *graphql_models.Post

func PostsToGraphQL

func PostsToGraphQL(am []*models.Post) []*graphql_models.Post

func StringFilterToMods

func StringFilterToMods(m *graphql_models.StringFilter, column string) []qm.QueryMod

func StringToCommentLikeSort

func StringToCommentLikeSort(v string) graphql_models.CommentLikeSort

func StringToCommentSort

func StringToCommentSort(v string) graphql_models.CommentSort

func StringToFriendshipSort

func StringToFriendshipSort(v string) graphql_models.FriendshipSort

func StringToImageSort

func StringToImageSort(v string) graphql_models.ImageSort

func StringToImageVariationSort

func StringToImageVariationSort(v string) graphql_models.ImageVariationSort

func StringToLikeSort

func StringToLikeSort(v string) graphql_models.LikeSort

func StringToPointerCommentLikeSort

func StringToPointerCommentLikeSort(v string) *graphql_models.CommentLikeSort

func StringToPointerCommentSort

func StringToPointerCommentSort(v string) *graphql_models.CommentSort

func StringToPointerFriendshipSort

func StringToPointerFriendshipSort(v string) *graphql_models.FriendshipSort

func StringToPointerImageSort

func StringToPointerImageSort(v string) *graphql_models.ImageSort

func StringToPointerImageVariationSort

func StringToPointerImageVariationSort(v string) *graphql_models.ImageVariationSort

func StringToPointerLikeSort

func StringToPointerLikeSort(v string) *graphql_models.LikeSort

func StringToPointerPostSort

func StringToPointerPostSort(v string) *graphql_models.PostSort

func StringToPointerUserSort

func StringToPointerUserSort(v string) *graphql_models.UserSort

func StringToPostSort

func StringToPostSort(v string) graphql_models.PostSort

func StringToUserSort

func StringToUserSort(v string) graphql_models.UserSort

func ToCommentCursor

func ToCommentCursor(ordering []*graphql_models.CommentOrdering, m *graphql_models.Comment) string

func ToCommentCursorSwitch

func ToCommentCursorSwitch(ordering []*graphql_models.CommentOrdering, m *graphql_models.Comment, cursorType boilergql.CursorType, offset int, index int) string

func ToCommentLikeCursorSwitch

func ToCommentLikeCursorSwitch(ordering []*graphql_models.CommentLikeOrdering, m *graphql_models.CommentLike, cursorType boilergql.CursorType, offset int, index int) string

func ToFriendshipCursorSwitch

func ToFriendshipCursorSwitch(ordering []*graphql_models.FriendshipOrdering, m *graphql_models.Friendship, cursorType boilergql.CursorType, offset int, index int) string

func ToImageCursor

func ToImageCursor(ordering []*graphql_models.ImageOrdering, m *graphql_models.Image) string

func ToImageCursorSwitch

func ToImageCursorSwitch(ordering []*graphql_models.ImageOrdering, m *graphql_models.Image, cursorType boilergql.CursorType, offset int, index int) string

func ToImageVariationCursorSwitch

func ToImageVariationCursorSwitch(ordering []*graphql_models.ImageVariationOrdering, m *graphql_models.ImageVariation, cursorType boilergql.CursorType, offset int, index int) string

func ToLikeCursor

func ToLikeCursor(ordering []*graphql_models.LikeOrdering, m *graphql_models.Like) string

func ToLikeCursorSwitch

func ToLikeCursorSwitch(ordering []*graphql_models.LikeOrdering, m *graphql_models.Like, cursorType boilergql.CursorType, offset int, index int) string

func ToPostCursor

func ToPostCursor(ordering []*graphql_models.PostOrdering, m *graphql_models.Post) string

func ToPostCursorSwitch

func ToPostCursorSwitch(ordering []*graphql_models.PostOrdering, m *graphql_models.Post, cursorType boilergql.CursorType, offset int, index int) string

func ToUserCursor

func ToUserCursor(ordering []*graphql_models.UserOrdering, m *graphql_models.User) string

func ToUserCursorSwitch

func ToUserCursorSwitch(ordering []*graphql_models.UserOrdering, m *graphql_models.User, cursorType boilergql.CursorType, offset int, index int) string

func UserConnection

func UserConnection(
	ctx context.Context,
	db *sql.DB,
	originalMods []qm.QueryMod,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.UserOrdering,
) (*graphql_models.UserConnection, error)

func UserCreateInputToBoiler

func UserCreateInputToBoiler(
	m *graphql_models.UserCreateInput,
) *models.User

func UserCreateInputToBoilerWhitelist

func UserCreateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func UserCreateInputToModelM

func UserCreateInputToModelM(
	input map[string]interface{},
	m graphql_models.UserCreateInput,
) models.M

func UserCreateInputsToBoiler

func UserCreateInputsToBoiler(am []*graphql_models.UserCreateInput) []*models.User

func UserCursorMods

func UserCursorMods(ordering []*graphql_models.UserOrdering, cursor *string, sign boilergql.ComparisonSign) []qm.QueryMod

func UserCursorType

func UserCursorType(ordering []*graphql_models.UserOrdering) boilergql.CursorType

func UserEdgeConverter

func UserEdgeConverter(pagination boilergql.ConnectionPagination, ordering []*graphql_models.UserOrdering) func(*models.User, int) *graphql_models.UserEdge

func UserFilterToMods

func UserFilterToMods(m *graphql_models.UserFilter) []qm.QueryMod

func UserID

func UserID(v string) string

func UserIDToGraphQL

func UserIDToGraphQL(v string) string

func UserIDs

func UserIDs(a []string) []string

func UserPaginationMods

func UserPaginationMods(pagination boilergql.ConnectionPagination, ordering []*graphql_models.UserOrdering) ([]qm.QueryMod, error)

func UserPaginationModsBase

func UserPaginationModsBase(pagination boilergql.ConnectionPagination, ordering []*graphql_models.UserOrdering, reverse bool, limit int) (*string, []qm.QueryMod)

func UserReversePageInformation

func UserReversePageInformation(
	ctx context.Context,
	db *sql.DB,
	pagination boilergql.ConnectionPagination,
	ordering []*graphql_models.UserOrdering,
) (bool, error)

func UserSearchToMods

func UserSearchToMods(search *string) []qm.QueryMod

func UserSortCursorValue

func UserSortCursorValue(sort graphql_models.UserSort, m *graphql_models.User) interface{}

func UserSortDirection

func UserSortDirection(ordering []*graphql_models.UserOrdering) boilergql.SortDirection

func UserSortMods

func UserSortMods(ordering []*graphql_models.UserOrdering, reverse bool, defaultDirection boilergql.SortDirection) []qm.QueryMod

func UserSortToNullDotString

func UserSortToNullDotString(v graphql_models.UserSort) null.String

func UserSortToString

func UserSortToString(v graphql_models.UserSort) string

func UserSortValueFromCursorValue

func UserSortValueFromCursorValue(cursorValue string) (string, interface{})

func UserStartEndCursor

func UserStartEndCursor(edges []*graphql_models.UserEdge) (*string, *string)

func UserToGraphQL

func UserToGraphQL(m *models.User) *graphql_models.User

func UserUpdateInputToBoiler

func UserUpdateInputToBoiler(
	m *graphql_models.UserUpdateInput,
) *models.User

func UserUpdateInputToBoilerWhitelist

func UserUpdateInputToBoilerWhitelist(input map[string]interface{}, extraColumns ...string) boil.Columns

func UserUpdateInputToModelM

func UserUpdateInputToModelM(
	input map[string]interface{},
	m graphql_models.UserUpdateInput,
) models.M

func UserUpdateInputsToBoiler

func UserUpdateInputsToBoiler(am []*graphql_models.UserUpdateInput) []*models.User

func UserWhereSubqueryToMods

func UserWhereSubqueryToMods(m *graphql_models.UserWhere, foreignColumn string, parentTable string) []qm.QueryMod

func UserWhereToMods

func UserWhereToMods(m *graphql_models.UserWhere, withPrimaryID bool, parentTable string) []qm.QueryMod

func UserWithNullDotStringID

func UserWithNullDotStringID(id null.String) *graphql_models.User

func UserWithStringID

func UserWithStringID(id string) *graphql_models.User

func UsersToGraphQL

func UsersToGraphQL(am []*models.User) []*graphql_models.User

Types

type CommentLikeSort

type CommentLikeSort string
const (
	CommentLikeSortID        CommentLikeSort = "id"
	CommentLikeSortLikeType  CommentLikeSort = "likeType"
	CommentLikeSortCreatedAt CommentLikeSort = "createdAt"
)

type CommentSort

type CommentSort string
const (
	CommentSortID      CommentSort = "id"
	CommentSortContent CommentSort = "content"
)

type FriendshipSort

type FriendshipSort string
const (
	FriendshipSortID        FriendshipSort = "id"
	FriendshipSortCreatedAt FriendshipSort = "createdAt"
)

type ImageSort

type ImageSort string
const (
	ImageSortID          ImageSort = "id"
	ImageSortViews       ImageSort = "views"
	ImageSortOriginalURL ImageSort = "originalUrl"
)

type ImageVariationSort

type ImageVariationSort string
const (
	ImageVariationSortID ImageVariationSort = "id"
)

type LikeSort

type LikeSort string
const (
	LikeSortID        LikeSort = "id"
	LikeSortLikeType  LikeSort = "likeType"
	LikeSortCreatedAt LikeSort = "createdAt"
)

type PostSort

type PostSort string
const (
	PostSortID      PostSort = "id"
	PostSortContent PostSort = "content"
)

type UserSort

type UserSort string
const (
	UserSortID        UserSort = "id"
	UserSortFirstName UserSort = "firstName"
	UserSortLastName  UserSort = "lastName"
	UserSortEmail     UserSort = "email"
	UserSortPassword  UserSort = "password"
)

Jump to

Keyboard shortcuts

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