helpers

package
v0.0.0-...-889354b Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommentLikePayloadPreloadLevels = struct {
	CommentLike string
}{
	CommentLike: "commentLike",
}
View Source
var CommentLikePreloadMap = map[string]helper.ColumnSetting{
	"comment": helper.ColumnSetting{
		Name:        models.CommentLikeRels.Comment,
		IDAvailable: true,
	},
	"comment.commentLikes": helper.ColumnSetting{
		Name:        models.CommentLikeRels.Comment + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"comment.commentLikes.comment": helper.ColumnSetting{
		Name:        models.CommentLikeRels.Comment + "." + models.CommentRels.CommentLikes + "." + models.CommentLikeRels.Comment,
		IDAvailable: false,
	},
	"comment.commentLikes.user": helper.ColumnSetting{
		Name:        models.CommentLikeRels.Comment + "." + models.CommentRels.CommentLikes + "." + models.CommentLikeRels.User,
		IDAvailable: false,
	},
	"comment.post": helper.ColumnSetting{
		Name:        models.CommentLikeRels.Comment + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"comment.user": helper.ColumnSetting{
		Name:        models.CommentLikeRels.Comment + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"user": helper.ColumnSetting{
		Name:        models.CommentLikeRels.User,
		IDAvailable: true,
	},
	"user.commentLikes": helper.ColumnSetting{
		Name:        models.CommentLikeRels.User + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"user.comments": helper.ColumnSetting{
		Name:        models.CommentLikeRels.User + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"user.friendships": helper.ColumnSetting{
		Name:        models.CommentLikeRels.User + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"user.likes": helper.ColumnSetting{
		Name:        models.CommentLikeRels.User + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"user.posts": helper.ColumnSetting{
		Name:        models.CommentLikeRels.User + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
}
View Source
var CommentPayloadPreloadLevels = struct {
	Comment string
}{
	Comment: "comment",
}
View Source
var CommentPreloadMap = map[string]helper.ColumnSetting{
	"commentLikes": helper.ColumnSetting{
		Name:        models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"commentLikes.comment": helper.ColumnSetting{
		Name:        models.CommentRels.CommentLikes + "." + models.CommentLikeRels.Comment,
		IDAvailable: false,
	},
	"commentLikes.user": helper.ColumnSetting{
		Name:        models.CommentRels.CommentLikes + "." + models.CommentLikeRels.User,
		IDAvailable: false,
	},
	"post": helper.ColumnSetting{
		Name:        models.CommentRels.Post,
		IDAvailable: true,
	},
	"post.comments": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Comments,
		IDAvailable: false,
	},
	"post.comments.commentLikes": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"post.comments.post": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"post.comments.user": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"post.images": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Images,
		IDAvailable: false,
	},
	"post.images.imageVariations": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Images + "." + models.ImageRels.ImageVariations,
		IDAvailable: false,
	},
	"post.images.post": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Images + "." + models.ImageRels.Post,
		IDAvailable: false,
	},
	"post.likes": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Likes,
		IDAvailable: false,
	},
	"post.likes.post": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Likes + "." + models.LikeRels.Post,
		IDAvailable: false,
	},
	"post.likes.user": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.Likes + "." + models.LikeRels.User,
		IDAvailable: false,
	},
	"post.user": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.User,
		IDAvailable: false,
	},
	"post.user.commentLikes": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.User + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"post.user.comments": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.User + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"post.user.friendships": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.User + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"post.user.likes": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.User + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"post.user.posts": helper.ColumnSetting{
		Name:        models.CommentRels.Post + "." + models.PostRels.User + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
	"user": helper.ColumnSetting{
		Name:        models.CommentRels.User,
		IDAvailable: true,
	},
	"user.commentLikes": helper.ColumnSetting{
		Name:        models.CommentRels.User + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"user.comments": helper.ColumnSetting{
		Name:        models.CommentRels.User + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"user.friendships": helper.ColumnSetting{
		Name:        models.CommentRels.User + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"user.likes": helper.ColumnSetting{
		Name:        models.CommentRels.User + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"user.posts": helper.ColumnSetting{
		Name:        models.CommentRels.User + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
}
View Source
var FriendshipPayloadPreloadLevels = struct {
	Friendship string
}{
	Friendship: "friendship",
}
View Source
var FriendshipPreloadMap = map[string]helper.ColumnSetting{
	"users": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users,
		IDAvailable: false,
	},
	"users.commentLikes": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"users.commentLikes.comment": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.CommentLikes + "." + models.CommentLikeRels.Comment,
		IDAvailable: false,
	},
	"users.commentLikes.user": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.CommentLikes + "." + models.CommentLikeRels.User,
		IDAvailable: false,
	},
	"users.comments": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"users.comments.commentLikes": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Comments + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"users.comments.post": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Comments + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"users.comments.post.comments": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Comments + "." + models.CommentRels.Post + "." + models.PostRels.Comments,
		IDAvailable: false,
	},
	"users.comments.post.images": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Comments + "." + models.CommentRels.Post + "." + models.PostRels.Images,
		IDAvailable: false,
	},
	"users.comments.post.likes": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Comments + "." + models.CommentRels.Post + "." + models.PostRels.Likes,
		IDAvailable: false,
	},
	"users.comments.post.user": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Comments + "." + models.CommentRels.Post + "." + models.PostRels.User,
		IDAvailable: false,
	},
	"users.comments.user": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Comments + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"users.friendships": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"users.friendships.users": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Friendships + "." + models.FriendshipRels.Users,
		IDAvailable: false,
	},
	"users.likes": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"users.likes.post": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Likes + "." + models.LikeRels.Post,
		IDAvailable: false,
	},
	"users.likes.user": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Likes + "." + models.LikeRels.User,
		IDAvailable: false,
	},
	"users.posts": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
	"users.posts.comments": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Posts + "." + models.PostRels.Comments,
		IDAvailable: false,
	},
	"users.posts.images": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Posts + "." + models.PostRels.Images,
		IDAvailable: false,
	},
	"users.posts.likes": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Posts + "." + models.PostRels.Likes,
		IDAvailable: false,
	},
	"users.posts.user": helper.ColumnSetting{
		Name:        models.FriendshipRels.Users + "." + models.UserRels.Posts + "." + models.PostRels.User,
		IDAvailable: false,
	},
}
View Source
var ImagePayloadPreloadLevels = struct {
	Image string
}{
	Image: "image",
}
View Source
var ImagePreloadMap = map[string]helper.ColumnSetting{
	"imageVariations": helper.ColumnSetting{
		Name:        models.ImageRels.ImageVariations,
		IDAvailable: false,
	},
	"imageVariations.image": helper.ColumnSetting{
		Name:        models.ImageRels.ImageVariations + "." + models.ImageVariationRels.Image,
		IDAvailable: false,
	},
	"imageVariations.image.imageVariations": helper.ColumnSetting{
		Name:        models.ImageRels.ImageVariations + "." + models.ImageVariationRels.Image + "." + models.ImageRels.ImageVariations,
		IDAvailable: false,
	},
	"imageVariations.image.post": helper.ColumnSetting{
		Name:        models.ImageRels.ImageVariations + "." + models.ImageVariationRels.Image + "." + models.ImageRels.Post,
		IDAvailable: false,
	},
	"post": helper.ColumnSetting{
		Name:        models.ImageRels.Post,
		IDAvailable: true,
	},
	"post.comments": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Comments,
		IDAvailable: false,
	},
	"post.comments.commentLikes": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"post.comments.post": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"post.comments.user": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"post.images": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Images,
		IDAvailable: false,
	},
	"post.images.imageVariations": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Images + "." + models.ImageRels.ImageVariations,
		IDAvailable: false,
	},
	"post.images.post": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Images + "." + models.ImageRels.Post,
		IDAvailable: false,
	},
	"post.likes": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Likes,
		IDAvailable: false,
	},
	"post.likes.post": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Likes + "." + models.LikeRels.Post,
		IDAvailable: false,
	},
	"post.likes.user": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.Likes + "." + models.LikeRels.User,
		IDAvailable: false,
	},
	"post.user": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.User,
		IDAvailable: false,
	},
	"post.user.commentLikes": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.User + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"post.user.comments": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.User + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"post.user.friendships": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.User + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"post.user.likes": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.User + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"post.user.posts": helper.ColumnSetting{
		Name:        models.ImageRels.Post + "." + models.PostRels.User + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
}
View Source
var ImageVariationPayloadPreloadLevels = struct {
	ImageVariation string
}{
	ImageVariation: "imageVariation",
}
View Source
var ImageVariationPreloadMap = map[string]helper.ColumnSetting{
	"image": helper.ColumnSetting{
		Name:        models.ImageVariationRels.Image,
		IDAvailable: true,
	},
	"image.imageVariations": helper.ColumnSetting{
		Name:        models.ImageVariationRels.Image + "." + models.ImageRels.ImageVariations,
		IDAvailable: false,
	},
	"image.imageVariations.image": helper.ColumnSetting{
		Name:        models.ImageVariationRels.Image + "." + models.ImageRels.ImageVariations + "." + models.ImageVariationRels.Image,
		IDAvailable: false,
	},
	"image.post": helper.ColumnSetting{
		Name:        models.ImageVariationRels.Image + "." + models.ImageRels.Post,
		IDAvailable: false,
	},
	"image.post.comments": helper.ColumnSetting{
		Name:        models.ImageVariationRels.Image + "." + models.ImageRels.Post + "." + models.PostRels.Comments,
		IDAvailable: false,
	},
	"image.post.images": helper.ColumnSetting{
		Name:        models.ImageVariationRels.Image + "." + models.ImageRels.Post + "." + models.PostRels.Images,
		IDAvailable: false,
	},
	"image.post.likes": helper.ColumnSetting{
		Name:        models.ImageVariationRels.Image + "." + models.ImageRels.Post + "." + models.PostRels.Likes,
		IDAvailable: false,
	},
	"image.post.user": helper.ColumnSetting{
		Name:        models.ImageVariationRels.Image + "." + models.ImageRels.Post + "." + models.PostRels.User,
		IDAvailable: false,
	},
}
View Source
var LikePayloadPreloadLevels = struct {
	Like string
}{
	Like: "like",
}
View Source
var LikePreloadMap = map[string]helper.ColumnSetting{
	"post": helper.ColumnSetting{
		Name:        models.LikeRels.Post,
		IDAvailable: true,
	},
	"post.comments": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Comments,
		IDAvailable: false,
	},
	"post.comments.commentLikes": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"post.comments.post": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"post.comments.user": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Comments + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"post.images": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Images,
		IDAvailable: false,
	},
	"post.images.imageVariations": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Images + "." + models.ImageRels.ImageVariations,
		IDAvailable: false,
	},
	"post.images.post": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Images + "." + models.ImageRels.Post,
		IDAvailable: false,
	},
	"post.likes": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Likes,
		IDAvailable: false,
	},
	"post.likes.post": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Likes + "." + models.LikeRels.Post,
		IDAvailable: false,
	},
	"post.likes.user": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.Likes + "." + models.LikeRels.User,
		IDAvailable: false,
	},
	"post.user": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.User,
		IDAvailable: false,
	},
	"post.user.commentLikes": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.User + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"post.user.comments": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.User + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"post.user.friendships": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.User + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"post.user.likes": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.User + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"post.user.posts": helper.ColumnSetting{
		Name:        models.LikeRels.Post + "." + models.PostRels.User + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
	"user": helper.ColumnSetting{
		Name:        models.LikeRels.User,
		IDAvailable: true,
	},
	"user.commentLikes": helper.ColumnSetting{
		Name:        models.LikeRels.User + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"user.comments": helper.ColumnSetting{
		Name:        models.LikeRels.User + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"user.comments.commentLikes": helper.ColumnSetting{
		Name:        models.LikeRels.User + "." + models.UserRels.Comments + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"user.comments.post": helper.ColumnSetting{
		Name:        models.LikeRels.User + "." + models.UserRels.Comments + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"user.comments.user": helper.ColumnSetting{
		Name:        models.LikeRels.User + "." + models.UserRels.Comments + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"user.friendships": helper.ColumnSetting{
		Name:        models.LikeRels.User + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"user.likes": helper.ColumnSetting{
		Name:        models.LikeRels.User + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"user.posts": helper.ColumnSetting{
		Name:        models.LikeRels.User + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
}
View Source
var PostPayloadPreloadLevels = struct {
	Post string
}{
	Post: "post",
}
View Source
var PostPreloadMap = map[string]helper.ColumnSetting{
	"comments": helper.ColumnSetting{
		Name:        models.PostRels.Comments,
		IDAvailable: false,
	},
	"comments.commentLikes": helper.ColumnSetting{
		Name:        models.PostRels.Comments + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"comments.post": helper.ColumnSetting{
		Name:        models.PostRels.Comments + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"comments.user": helper.ColumnSetting{
		Name:        models.PostRels.Comments + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"images": helper.ColumnSetting{
		Name:        models.PostRels.Images,
		IDAvailable: false,
	},
	"images.imageVariations": helper.ColumnSetting{
		Name:        models.PostRels.Images + "." + models.ImageRels.ImageVariations,
		IDAvailable: false,
	},
	"images.post": helper.ColumnSetting{
		Name:        models.PostRels.Images + "." + models.ImageRels.Post,
		IDAvailable: false,
	},
	"likes": helper.ColumnSetting{
		Name:        models.PostRels.Likes,
		IDAvailable: false,
	},
	"likes.post": helper.ColumnSetting{
		Name:        models.PostRels.Likes + "." + models.LikeRels.Post,
		IDAvailable: false,
	},
	"likes.user": helper.ColumnSetting{
		Name:        models.PostRels.Likes + "." + models.LikeRels.User,
		IDAvailable: false,
	},
	"user": helper.ColumnSetting{
		Name:        models.PostRels.User,
		IDAvailable: true,
	},
	"user.commentLikes": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"user.commentLikes.comment": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.CommentLikes + "." + models.CommentLikeRels.Comment,
		IDAvailable: false,
	},
	"user.commentLikes.user": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.CommentLikes + "." + models.CommentLikeRels.User,
		IDAvailable: false,
	},
	"user.comments": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"user.comments.commentLikes": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Comments + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"user.comments.post": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Comments + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"user.comments.user": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Comments + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"user.friendships": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"user.likes": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"user.likes.post": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Likes + "." + models.LikeRels.Post,
		IDAvailable: false,
	},
	"user.likes.user": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Likes + "." + models.LikeRels.User,
		IDAvailable: false,
	},
	"user.posts": helper.ColumnSetting{
		Name:        models.PostRels.User + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
}
View Source
var UserPayloadPreloadLevels = struct {
	User string
}{
	User: "user",
}
View Source
var UserPreloadMap = map[string]helper.ColumnSetting{
	"commentLikes": helper.ColumnSetting{
		Name:        models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"commentLikes.comment": helper.ColumnSetting{
		Name:        models.UserRels.CommentLikes + "." + models.CommentLikeRels.Comment,
		IDAvailable: false,
	},
	"commentLikes.user": helper.ColumnSetting{
		Name:        models.UserRels.CommentLikes + "." + models.CommentLikeRels.User,
		IDAvailable: false,
	},
	"comments": helper.ColumnSetting{
		Name:        models.UserRels.Comments,
		IDAvailable: false,
	},
	"comments.commentLikes": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.CommentLikes,
		IDAvailable: false,
	},
	"comments.commentLikes.comment": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.CommentLikes + "." + models.CommentLikeRels.Comment,
		IDAvailable: false,
	},
	"comments.commentLikes.user": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.CommentLikes + "." + models.CommentLikeRels.User,
		IDAvailable: false,
	},
	"comments.post": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.Post,
		IDAvailable: false,
	},
	"comments.post.comments": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.Post + "." + models.PostRels.Comments,
		IDAvailable: false,
	},
	"comments.post.images": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.Post + "." + models.PostRels.Images,
		IDAvailable: false,
	},
	"comments.post.likes": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.Post + "." + models.PostRels.Likes,
		IDAvailable: false,
	},
	"comments.post.user": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.Post + "." + models.PostRels.User,
		IDAvailable: false,
	},
	"comments.user": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.User,
		IDAvailable: false,
	},
	"comments.user.commentLikes": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.User + "." + models.UserRels.CommentLikes,
		IDAvailable: false,
	},
	"comments.user.comments": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.User + "." + models.UserRels.Comments,
		IDAvailable: false,
	},
	"comments.user.friendships": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.User + "." + models.UserRels.Friendships,
		IDAvailable: false,
	},
	"comments.user.likes": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.User + "." + models.UserRels.Likes,
		IDAvailable: false,
	},
	"comments.user.posts": helper.ColumnSetting{
		Name:        models.UserRels.Comments + "." + models.CommentRels.User + "." + models.UserRels.Posts,
		IDAvailable: false,
	},
	"friendships": helper.ColumnSetting{
		Name:        models.UserRels.Friendships,
		IDAvailable: false,
	},
	"friendships.users": helper.ColumnSetting{
		Name:        models.UserRels.Friendships + "." + models.FriendshipRels.Users,
		IDAvailable: false,
	},
	"likes": helper.ColumnSetting{
		Name:        models.UserRels.Likes,
		IDAvailable: false,
	},
	"likes.post": helper.ColumnSetting{
		Name:        models.UserRels.Likes + "." + models.LikeRels.Post,
		IDAvailable: false,
	},
	"likes.user": helper.ColumnSetting{
		Name:        models.UserRels.Likes + "." + models.LikeRels.User,
		IDAvailable: false,
	},
	"posts": helper.ColumnSetting{
		Name:        models.UserRels.Posts,
		IDAvailable: false,
	},
	"posts.comments": helper.ColumnSetting{
		Name:        models.UserRels.Posts + "." + models.PostRels.Comments,
		IDAvailable: false,
	},
	"posts.images": helper.ColumnSetting{
		Name:        models.UserRels.Posts + "." + models.PostRels.Images,
		IDAvailable: false,
	},
	"posts.likes": helper.ColumnSetting{
		Name:        models.UserRels.Posts + "." + models.PostRels.Likes,
		IDAvailable: false,
	},
	"posts.user": helper.ColumnSetting{
		Name:        models.UserRels.Posts + "." + models.PostRels.User,
		IDAvailable: false,
	},
}

Functions

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 CommentFilterToMods

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

func CommentID

func CommentID(v string) uint

func CommentIDToGraphQL

func CommentIDToGraphQL(v uint) string

func CommentIDs

func CommentIDs(a []string) []uint

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 CommentLikeFilterToMods

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

func CommentLikeID

func CommentLikeID(v string) uint

func CommentLikeIDToGraphQL

func CommentLikeIDToGraphQL(v uint) string

func CommentLikeIDs

func CommentLikeIDs(a []string) []uint

func CommentLikeSearchToMods

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

func CommentLikeToGraphQL

func CommentLikeToGraphQL(m *models.CommentLike, roots []interface{}) *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) []qm.QueryMod

func CommentLikeWhereToMods

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

func CommentLikeWithIntID

func CommentLikeWithIntID(id int) *graphql_models.CommentLike

func CommentLikeWithNullDotIntID

func CommentLikeWithNullDotIntID(id null.Int) *graphql_models.CommentLike

func CommentLikeWithNullDotUintID

func CommentLikeWithNullDotUintID(id null.Uint) *graphql_models.CommentLike

func CommentLikeWithUintID

func CommentLikeWithUintID(id uint) *graphql_models.CommentLike

func CommentLikesToGraphQL

func CommentLikesToGraphQL(am []*models.CommentLike, roots []interface{}) []*graphql_models.CommentLike

func CommentSearchToMods

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

func CommentToGraphQL

func CommentToGraphQL(m *models.Comment, roots []interface{}) *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) []qm.QueryMod

func CommentWhereToMods

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

func CommentWithIntID

func CommentWithIntID(id int) *graphql_models.Comment

func CommentWithNullDotIntID

func CommentWithNullDotIntID(id null.Int) *graphql_models.Comment

func CommentWithNullDotUintID

func CommentWithNullDotUintID(id null.Uint) *graphql_models.Comment

func CommentWithUintID

func CommentWithUintID(id uint) *graphql_models.Comment

func CommentsToGraphQL

func CommentsToGraphQL(am []*models.Comment, roots []interface{}) []*graphql_models.Comment

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 FriendshipFilterToMods

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

func FriendshipID

func FriendshipID(v string) uint

func FriendshipIDToGraphQL

func FriendshipIDToGraphQL(v uint) string

func FriendshipIDs

func FriendshipIDs(a []string) []uint

func FriendshipSearchToMods

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

func FriendshipToGraphQL

func FriendshipToGraphQL(m *models.Friendship, roots []interface{}) *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) []qm.QueryMod

func FriendshipWhereToMods

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

func FriendshipWithIntID

func FriendshipWithIntID(id int) *graphql_models.Friendship

func FriendshipWithNullDotIntID

func FriendshipWithNullDotIntID(id null.Int) *graphql_models.Friendship

func FriendshipWithNullDotUintID

func FriendshipWithNullDotUintID(id null.Uint) *graphql_models.Friendship

func FriendshipWithUintID

func FriendshipWithUintID(id uint) *graphql_models.Friendship

func FriendshipsToGraphQL

func FriendshipsToGraphQL(am []*models.Friendship, roots []interface{}) []*graphql_models.Friendship

func IDFilterToMods

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

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 ImageFilterToMods

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

func ImageID

func ImageID(v string) uint

func ImageIDToGraphQL

func ImageIDToGraphQL(v uint) string

func ImageIDs

func ImageIDs(a []string) []uint

func ImageSearchToMods

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

func ImageToGraphQL

func ImageToGraphQL(m *models.Image, roots []interface{}) *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 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 ImageVariationFilterToMods

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

func ImageVariationID

func ImageVariationID(v string) uint

func ImageVariationIDToGraphQL

func ImageVariationIDToGraphQL(v uint) string

func ImageVariationIDs

func ImageVariationIDs(a []string) []uint

func ImageVariationSearchToMods

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

func ImageVariationToGraphQL

func ImageVariationToGraphQL(m *models.ImageVariation, roots []interface{}) *graphql_models.ImageVariation

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) []qm.QueryMod

func ImageVariationWhereToMods

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

func ImageVariationWithIntID

func ImageVariationWithIntID(id int) *graphql_models.ImageVariation

func ImageVariationWithNullDotIntID

func ImageVariationWithNullDotIntID(id null.Int) *graphql_models.ImageVariation

func ImageVariationWithNullDotUintID

func ImageVariationWithNullDotUintID(id null.Uint) *graphql_models.ImageVariation

func ImageVariationWithUintID

func ImageVariationWithUintID(id uint) *graphql_models.ImageVariation

func ImageVariationsToGraphQL

func ImageVariationsToGraphQL(am []*models.ImageVariation, roots []interface{}) []*graphql_models.ImageVariation

func ImageWhereSubqueryToMods

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

func ImageWhereToMods

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

func ImageWithIntID

func ImageWithIntID(id int) *graphql_models.Image

func ImageWithNullDotIntID

func ImageWithNullDotIntID(id null.Int) *graphql_models.Image

func ImageWithNullDotUintID

func ImageWithNullDotUintID(id null.Uint) *graphql_models.Image

func ImageWithUintID

func ImageWithUintID(id uint) *graphql_models.Image

func ImagesToGraphQL

func ImagesToGraphQL(am []*models.Image, roots []interface{}) []*graphql_models.Image

func IntFilterToMods

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

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 LikeFilterToMods

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

func LikeID

func LikeID(v string) uint

func LikeIDToGraphQL

func LikeIDToGraphQL(v uint) string

func LikeIDs

func LikeIDs(a []string) []uint

func LikeSearchToMods

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

func LikeToGraphQL

func LikeToGraphQL(m *models.Like, roots []interface{}) *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) []qm.QueryMod

func LikeWhereToMods

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

func LikeWithIntID

func LikeWithIntID(id int) *graphql_models.Like

func LikeWithNullDotIntID

func LikeWithNullDotIntID(id null.Int) *graphql_models.Like

func LikeWithNullDotUintID

func LikeWithNullDotUintID(id null.Uint) *graphql_models.Like

func LikeWithUintID

func LikeWithUintID(id uint) *graphql_models.Like

func LikesToGraphQL

func LikesToGraphQL(am []*models.Like, roots []interface{}) []*graphql_models.Like

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 PostFilterToMods

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

func PostID

func PostID(v string) uint

func PostIDToGraphQL

func PostIDToGraphQL(v uint) string

func PostIDs

func PostIDs(a []string) []uint

func PostSearchToMods

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

func PostToGraphQL

func PostToGraphQL(m *models.Post, roots []interface{}) *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) []qm.QueryMod

func PostWhereToMods

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

func PostWithIntID

func PostWithIntID(id int) *graphql_models.Post

func PostWithNullDotIntID

func PostWithNullDotIntID(id null.Int) *graphql_models.Post

func PostWithNullDotUintID

func PostWithNullDotUintID(id null.Uint) *graphql_models.Post

func PostWithUintID

func PostWithUintID(id uint) *graphql_models.Post

func PostsToGraphQL

func PostsToGraphQL(am []*models.Post, roots []interface{}) []*graphql_models.Post

func StringFilterToMods

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

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 UserFilterToMods

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

func UserID

func UserID(v string) uint

func UserIDToGraphQL

func UserIDToGraphQL(v uint) string

func UserIDs

func UserIDs(a []string) []uint

func UserSearchToMods

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

func UserToGraphQL

func UserToGraphQL(m *models.User, roots []interface{}) *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) []qm.QueryMod

func UserWhereToMods

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

func UserWithIntID

func UserWithIntID(id int) *graphql_models.User

func UserWithNullDotIntID

func UserWithNullDotIntID(id null.Int) *graphql_models.User

func UserWithNullDotUintID

func UserWithNullDotUintID(id null.Uint) *graphql_models.User

func UserWithUintID

func UserWithUintID(id uint) *graphql_models.User

func UsersToGraphQL

func UsersToGraphQL(am []*models.User, roots []interface{}) []*graphql_models.User

Types

This section is empty.

Jump to

Keyboard shortcuts

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