prisma

package
v0.0.0-...-76cbc5f Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultEndpoint = "http://localhost:4466"
View Source
var ErrNoResult = errors.New("query returned no result")

Functions

func Bool

func Bool(v bool) *bool

func Int32

func Int32(v int32) *int32

func Str

func Str(v string) *string

Types

type Aggregate

type Aggregate struct {
	Count int64 `json:"count"`
}

type AllVotesParamsExec

type AllVotesParamsExec struct {
	Where   *VoteWhereInput
	OrderBy *VoteOrderByInput
	Skip    *int32
	After   *string
	Before  *string
	First   *int32
	Last    *int32
}

type BatchPayload

type BatchPayload struct {
	Count int64 `json:"count"`
}

type BatchPayloadExec

type BatchPayloadExec struct {
	// contains filtered or unexported fields
}

func (*BatchPayloadExec) Exec

func (exec *BatchPayloadExec) Exec(ctx context.Context) (BatchPayload, error)

type Client

type Client struct {
	Client *prisma.Client
}

func New

func New(options *Options, opts ...graphql.ClientOption) *Client
func (client *Client) CreateLink(params LinkCreateInput) *LinkExec

func (*Client) CreateUser

func (client *Client) CreateUser(params UserCreateInput) *UserExec

func (*Client) CreateVote

func (client *Client) CreateVote(params VoteCreateInput) *VoteExec
func (client *Client) DeleteLink(params LinkWhereUniqueInput) *LinkExec
func (client *Client) DeleteManyLinks(params *LinkWhereInput) *BatchPayloadExec

func (*Client) DeleteManyUsers

func (client *Client) DeleteManyUsers(params *UserWhereInput) *BatchPayloadExec

func (*Client) DeleteManyVotes

func (client *Client) DeleteManyVotes(params *VoteWhereInput) *BatchPayloadExec

func (*Client) DeleteUser

func (client *Client) DeleteUser(params UserWhereUniqueInput) *UserExec

func (*Client) DeleteVote

func (client *Client) DeleteVote(params VoteWhereUniqueInput) *VoteExec

func (*Client) GraphQL

func (client *Client) GraphQL(ctx context.Context, query string, variables map[string]interface{}) (map[string]interface{}, error)
func (client *Client) Link(params LinkWhereUniqueInput) *LinkExec
func (client *Client) Links(params *LinksParams) *LinkExecArray

func (*Client) LinksConnection

func (client *Client) LinksConnection(params *LinksConnectionParams) LinkConnectionExec
func (client *Client) UpdateLink(params LinkUpdateParams) *LinkExec
func (client *Client) UpdateManyLinks(params LinkUpdateManyParams) *BatchPayloadExec

func (*Client) UpdateManyUsers

func (client *Client) UpdateManyUsers(params UserUpdateManyParams) *BatchPayloadExec

func (*Client) UpdateManyVotes

func (client *Client) UpdateManyVotes(params VoteUpdateManyParams) *BatchPayloadExec

func (*Client) UpdateUser

func (client *Client) UpdateUser(params UserUpdateParams) *UserExec

func (*Client) UpdateVote

func (client *Client) UpdateVote(params VoteUpdateParams) *VoteExec
func (client *Client) UpsertLink(params LinkUpsertParams) *LinkExec

func (*Client) UpsertUser

func (client *Client) UpsertUser(params UserUpsertParams) *UserExec

func (*Client) UpsertVote

func (client *Client) UpsertVote(params VoteUpsertParams) *VoteExec

func (*Client) User

func (client *Client) User(params UserWhereUniqueInput) *UserExec

func (*Client) Users

func (client *Client) Users(params *UsersParams) *UserExecArray

func (*Client) UsersConnection

func (client *Client) UsersConnection(params *UsersConnectionParams) UserConnectionExec

func (*Client) Vote

func (client *Client) Vote(params VoteWhereUniqueInput) *VoteExec

func (*Client) Votes

func (client *Client) Votes(params *VotesParams) *VoteExecArray

func (*Client) VotesConnection

func (client *Client) VotesConnection(params *VotesConnectionParams) VoteConnectionExec
type Link struct {
	ID          string `json:"id"`
	CreatedAt   string `json:"createdAt"`
	Description string `json:"description"`
	Url         string `json:"url"`
}

type LinkConnection

type LinkConnection struct {
}

type LinkConnectionExec

type LinkConnectionExec struct {
	// contains filtered or unexported fields
}

func (*LinkConnectionExec) Aggregate

func (instance *LinkConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)

func (*LinkConnectionExec) Edges

func (instance *LinkConnectionExec) Edges() *LinkEdgeExec

func (LinkConnectionExec) Exec

func (instance LinkConnectionExec) Exec(ctx context.Context) (*LinkConnection, error)

func (LinkConnectionExec) Exists

func (instance LinkConnectionExec) Exists(ctx context.Context) (bool, error)

func (*LinkConnectionExec) PageInfo

func (instance *LinkConnectionExec) PageInfo() *PageInfoExec

type LinkConnectionExecArray

type LinkConnectionExecArray struct {
	// contains filtered or unexported fields
}

func (LinkConnectionExecArray) Exec

type LinkCreateInput

type LinkCreateInput struct {
	Description string                          `json:"description"`
	Url         string                          `json:"url"`
	PostedBy    *UserCreateOneWithoutLinksInput `json:"postedBy,omitempty"`
	AllVotes    *VoteCreateManyWithoutLinkInput `json:"allVotes,omitempty"`
}

type LinkCreateManyWithoutPostedByInput

type LinkCreateManyWithoutPostedByInput struct {
	Create  []LinkCreateWithoutPostedByInput `json:"create,omitempty"`
	Connect []LinkWhereUniqueInput           `json:"connect,omitempty"`
}

type LinkCreateOneWithoutAllVotesInput

type LinkCreateOneWithoutAllVotesInput struct {
	Create  *LinkCreateWithoutAllVotesInput `json:"create,omitempty"`
	Connect *LinkWhereUniqueInput           `json:"connect,omitempty"`
}

type LinkCreateWithoutAllVotesInput

type LinkCreateWithoutAllVotesInput struct {
	Description string                          `json:"description"`
	Url         string                          `json:"url"`
	PostedBy    *UserCreateOneWithoutLinksInput `json:"postedBy,omitempty"`
}

type LinkCreateWithoutPostedByInput

type LinkCreateWithoutPostedByInput struct {
	Description string                          `json:"description"`
	Url         string                          `json:"url"`
	AllVotes    *VoteCreateManyWithoutLinkInput `json:"allVotes,omitempty"`
}

type LinkEdge

type LinkEdge struct {
	Cursor string `json:"cursor"`
}

type LinkEdgeExec

type LinkEdgeExec struct {
	// contains filtered or unexported fields
}

func (LinkEdgeExec) Exec

func (instance LinkEdgeExec) Exec(ctx context.Context) (*LinkEdge, error)

func (LinkEdgeExec) Exists

func (instance LinkEdgeExec) Exists(ctx context.Context) (bool, error)

func (*LinkEdgeExec) Node

func (instance *LinkEdgeExec) Node() *LinkExec

type LinkEdgeExecArray

type LinkEdgeExecArray struct {
	// contains filtered or unexported fields
}

func (LinkEdgeExecArray) Exec

func (instance LinkEdgeExecArray) Exec(ctx context.Context) ([]LinkEdge, error)

type LinkExec

type LinkExec struct {
	// contains filtered or unexported fields
}

func (*LinkExec) AllVotes

func (instance *LinkExec) AllVotes(params *AllVotesParamsExec) *VoteExecArray

func (LinkExec) Exec

func (instance LinkExec) Exec(ctx context.Context) (*Link, error)

func (LinkExec) Exists

func (instance LinkExec) Exists(ctx context.Context) (bool, error)

func (*LinkExec) PostedBy

func (instance *LinkExec) PostedBy() *UserExec

type LinkExecArray

type LinkExecArray struct {
	// contains filtered or unexported fields
}

func (LinkExecArray) Exec

func (instance LinkExecArray) Exec(ctx context.Context) ([]Link, error)

type LinkOrderByInput

type LinkOrderByInput string
const (
	LinkOrderByInputIDAsc           LinkOrderByInput = "id_ASC"
	LinkOrderByInputIDDesc          LinkOrderByInput = "id_DESC"
	LinkOrderByInputCreatedAtAsc    LinkOrderByInput = "createdAt_ASC"
	LinkOrderByInputCreatedAtDesc   LinkOrderByInput = "createdAt_DESC"
	LinkOrderByInputDescriptionAsc  LinkOrderByInput = "description_ASC"
	LinkOrderByInputDescriptionDesc LinkOrderByInput = "description_DESC"
	LinkOrderByInputUrlAsc          LinkOrderByInput = "url_ASC"
	LinkOrderByInputUrlDesc         LinkOrderByInput = "url_DESC"
	LinkOrderByInputUpdatedAtAsc    LinkOrderByInput = "updatedAt_ASC"
	LinkOrderByInputUpdatedAtDesc   LinkOrderByInput = "updatedAt_DESC"
)

type LinkPreviousValues

type LinkPreviousValues struct {
	ID          string `json:"id"`
	CreatedAt   string `json:"createdAt"`
	Description string `json:"description"`
	Url         string `json:"url"`
}

type LinkPreviousValuesExec

type LinkPreviousValuesExec struct {
	// contains filtered or unexported fields
}

func (LinkPreviousValuesExec) Exec

func (LinkPreviousValuesExec) Exists

func (instance LinkPreviousValuesExec) Exists(ctx context.Context) (bool, error)

type LinkPreviousValuesExecArray

type LinkPreviousValuesExecArray struct {
	// contains filtered or unexported fields
}

func (LinkPreviousValuesExecArray) Exec

type LinkSubscriptionPayload

type LinkSubscriptionPayload struct {
	UpdatedFields []string `json:"updatedFields,omitempty"`
}

type LinkSubscriptionPayloadExec

type LinkSubscriptionPayloadExec struct {
	// contains filtered or unexported fields
}

func (LinkSubscriptionPayloadExec) Exec

func (LinkSubscriptionPayloadExec) Exists

func (instance LinkSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)

func (*LinkSubscriptionPayloadExec) Node

func (instance *LinkSubscriptionPayloadExec) Node() *LinkExec

func (*LinkSubscriptionPayloadExec) PreviousValues

func (instance *LinkSubscriptionPayloadExec) PreviousValues() *LinkPreviousValuesExec

type LinkSubscriptionPayloadExecArray

type LinkSubscriptionPayloadExecArray struct {
	// contains filtered or unexported fields
}

func (LinkSubscriptionPayloadExecArray) Exec

type LinkSubscriptionWhereInput

type LinkSubscriptionWhereInput struct {
	MutationIn                 []MutationType               `json:"mutation_in,omitempty"`
	UpdatedFieldsContains      *string                      `json:"updatedFields_contains,omitempty"`
	UpdatedFieldsContainsEvery []string                     `json:"updatedFields_contains_every,omitempty"`
	UpdatedFieldsContainsSome  []string                     `json:"updatedFields_contains_some,omitempty"`
	Node                       *LinkWhereInput              `json:"node,omitempty"`
	And                        []LinkSubscriptionWhereInput `json:"AND,omitempty"`
	Or                         []LinkSubscriptionWhereInput `json:"OR,omitempty"`
	Not                        []LinkSubscriptionWhereInput `json:"NOT,omitempty"`
}

type LinkUpdateInput

type LinkUpdateInput struct {
	Description *string                         `json:"description,omitempty"`
	Url         *string                         `json:"url,omitempty"`
	PostedBy    *UserUpdateOneWithoutLinksInput `json:"postedBy,omitempty"`
	AllVotes    *VoteUpdateManyWithoutLinkInput `json:"allVotes,omitempty"`
}

type LinkUpdateManyParams

type LinkUpdateManyParams struct {
	Data  LinkUpdateInput `json:"data"`
	Where *LinkWhereInput `json:"where,omitempty"`
}

type LinkUpdateManyWithoutPostedByInput

type LinkUpdateManyWithoutPostedByInput struct {
	Create     []LinkCreateWithoutPostedByInput                `json:"create,omitempty"`
	Delete     []LinkWhereUniqueInput                          `json:"delete,omitempty"`
	Connect    []LinkWhereUniqueInput                          `json:"connect,omitempty"`
	Disconnect []LinkWhereUniqueInput                          `json:"disconnect,omitempty"`
	Update     []LinkUpdateWithWhereUniqueWithoutPostedByInput `json:"update,omitempty"`
	Upsert     []LinkUpsertWithWhereUniqueWithoutPostedByInput `json:"upsert,omitempty"`
}

type LinkUpdateOneRequiredWithoutAllVotesInput

type LinkUpdateOneRequiredWithoutAllVotesInput struct {
	Create  *LinkCreateWithoutAllVotesInput     `json:"create,omitempty"`
	Update  *LinkUpdateWithoutAllVotesDataInput `json:"update,omitempty"`
	Upsert  *LinkUpsertWithoutAllVotesInput     `json:"upsert,omitempty"`
	Connect *LinkWhereUniqueInput               `json:"connect,omitempty"`
}

type LinkUpdateParams

type LinkUpdateParams struct {
	Data  LinkUpdateInput      `json:"data"`
	Where LinkWhereUniqueInput `json:"where"`
}

type LinkUpdateWithWhereUniqueWithoutPostedByInput

type LinkUpdateWithWhereUniqueWithoutPostedByInput struct {
	Where LinkWhereUniqueInput               `json:"where"`
	Data  LinkUpdateWithoutPostedByDataInput `json:"data"`
}

type LinkUpdateWithoutAllVotesDataInput

type LinkUpdateWithoutAllVotesDataInput struct {
	Description *string                         `json:"description,omitempty"`
	Url         *string                         `json:"url,omitempty"`
	PostedBy    *UserUpdateOneWithoutLinksInput `json:"postedBy,omitempty"`
}

type LinkUpdateWithoutPostedByDataInput

type LinkUpdateWithoutPostedByDataInput struct {
	Description *string                         `json:"description,omitempty"`
	Url         *string                         `json:"url,omitempty"`
	AllVotes    *VoteUpdateManyWithoutLinkInput `json:"allVotes,omitempty"`
}

type LinkUpsertParams

type LinkUpsertParams struct {
	Where  LinkWhereUniqueInput `json:"where"`
	Create LinkCreateInput      `json:"create"`
	Update LinkUpdateInput      `json:"update"`
}

type LinkUpsertWithWhereUniqueWithoutPostedByInput

type LinkUpsertWithWhereUniqueWithoutPostedByInput struct {
	Where  LinkWhereUniqueInput               `json:"where"`
	Update LinkUpdateWithoutPostedByDataInput `json:"update"`
	Create LinkCreateWithoutPostedByInput     `json:"create"`
}

type LinkUpsertWithoutAllVotesInput

type LinkUpsertWithoutAllVotesInput struct {
	Update LinkUpdateWithoutAllVotesDataInput `json:"update"`
	Create LinkCreateWithoutAllVotesInput     `json:"create"`
}

type LinkWhereInput

type LinkWhereInput struct {
	ID                       *string          `json:"id,omitempty"`
	IDNot                    *string          `json:"id_not,omitempty"`
	IDIn                     []string         `json:"id_in,omitempty"`
	IDNotIn                  []string         `json:"id_not_in,omitempty"`
	IDLt                     *string          `json:"id_lt,omitempty"`
	IDLte                    *string          `json:"id_lte,omitempty"`
	IDGt                     *string          `json:"id_gt,omitempty"`
	IDGte                    *string          `json:"id_gte,omitempty"`
	IDContains               *string          `json:"id_contains,omitempty"`
	IDNotContains            *string          `json:"id_not_contains,omitempty"`
	IDStartsWith             *string          `json:"id_starts_with,omitempty"`
	IDNotStartsWith          *string          `json:"id_not_starts_with,omitempty"`
	IDEndsWith               *string          `json:"id_ends_with,omitempty"`
	IDNotEndsWith            *string          `json:"id_not_ends_with,omitempty"`
	CreatedAt                *string          `json:"createdAt,omitempty"`
	CreatedAtNot             *string          `json:"createdAt_not,omitempty"`
	CreatedAtIn              []string         `json:"createdAt_in,omitempty"`
	CreatedAtNotIn           []string         `json:"createdAt_not_in,omitempty"`
	CreatedAtLt              *string          `json:"createdAt_lt,omitempty"`
	CreatedAtLte             *string          `json:"createdAt_lte,omitempty"`
	CreatedAtGt              *string          `json:"createdAt_gt,omitempty"`
	CreatedAtGte             *string          `json:"createdAt_gte,omitempty"`
	Description              *string          `json:"description,omitempty"`
	DescriptionNot           *string          `json:"description_not,omitempty"`
	DescriptionIn            []string         `json:"description_in,omitempty"`
	DescriptionNotIn         []string         `json:"description_not_in,omitempty"`
	DescriptionLt            *string          `json:"description_lt,omitempty"`
	DescriptionLte           *string          `json:"description_lte,omitempty"`
	DescriptionGt            *string          `json:"description_gt,omitempty"`
	DescriptionGte           *string          `json:"description_gte,omitempty"`
	DescriptionContains      *string          `json:"description_contains,omitempty"`
	DescriptionNotContains   *string          `json:"description_not_contains,omitempty"`
	DescriptionStartsWith    *string          `json:"description_starts_with,omitempty"`
	DescriptionNotStartsWith *string          `json:"description_not_starts_with,omitempty"`
	DescriptionEndsWith      *string          `json:"description_ends_with,omitempty"`
	DescriptionNotEndsWith   *string          `json:"description_not_ends_with,omitempty"`
	Url                      *string          `json:"url,omitempty"`
	UrlNot                   *string          `json:"url_not,omitempty"`
	UrlIn                    []string         `json:"url_in,omitempty"`
	UrlNotIn                 []string         `json:"url_not_in,omitempty"`
	UrlLt                    *string          `json:"url_lt,omitempty"`
	UrlLte                   *string          `json:"url_lte,omitempty"`
	UrlGt                    *string          `json:"url_gt,omitempty"`
	UrlGte                   *string          `json:"url_gte,omitempty"`
	UrlContains              *string          `json:"url_contains,omitempty"`
	UrlNotContains           *string          `json:"url_not_contains,omitempty"`
	UrlStartsWith            *string          `json:"url_starts_with,omitempty"`
	UrlNotStartsWith         *string          `json:"url_not_starts_with,omitempty"`
	UrlEndsWith              *string          `json:"url_ends_with,omitempty"`
	UrlNotEndsWith           *string          `json:"url_not_ends_with,omitempty"`
	PostedBy                 *UserWhereInput  `json:"postedBy,omitempty"`
	AllVotesEvery            *VoteWhereInput  `json:"allVotes_every,omitempty"`
	AllVotesSome             *VoteWhereInput  `json:"allVotes_some,omitempty"`
	AllVotesNone             *VoteWhereInput  `json:"allVotes_none,omitempty"`
	And                      []LinkWhereInput `json:"AND,omitempty"`
	Or                       []LinkWhereInput `json:"OR,omitempty"`
	Not                      []LinkWhereInput `json:"NOT,omitempty"`
}

type LinkWhereUniqueInput

type LinkWhereUniqueInput struct {
	ID *string `json:"id,omitempty"`
}

type LinksConnectionParams

type LinksConnectionParams struct {
	Where   *LinkWhereInput   `json:"where,omitempty"`
	OrderBy *LinkOrderByInput `json:"orderBy,omitempty"`
	Skip    *int32            `json:"skip,omitempty"`
	After   *string           `json:"after,omitempty"`
	Before  *string           `json:"before,omitempty"`
	First   *int32            `json:"first,omitempty"`
	Last    *int32            `json:"last,omitempty"`
}

type LinksParams

type LinksParams struct {
	Where   *LinkWhereInput   `json:"where,omitempty"`
	OrderBy *LinkOrderByInput `json:"orderBy,omitempty"`
	Skip    *int32            `json:"skip,omitempty"`
	After   *string           `json:"after,omitempty"`
	Before  *string           `json:"before,omitempty"`
	First   *int32            `json:"first,omitempty"`
	Last    *int32            `json:"last,omitempty"`
}

type LinksParamsExec

type LinksParamsExec struct {
	Where   *LinkWhereInput
	OrderBy *LinkOrderByInput
	Skip    *int32
	After   *string
	Before  *string
	First   *int32
	Last    *int32
}

type MutationType

type MutationType string
const (
	MutationTypeCreated MutationType = "CREATED"
	MutationTypeUpdated MutationType = "UPDATED"
	MutationTypeDeleted MutationType = "DELETED"
)

type Options

type Options struct {
	Endpoint string
}

type PageInfo

type PageInfo struct {
	HasNextPage     bool    `json:"hasNextPage"`
	HasPreviousPage bool    `json:"hasPreviousPage"`
	StartCursor     *string `json:"startCursor,omitempty"`
	EndCursor       *string `json:"endCursor,omitempty"`
}

type PageInfoExec

type PageInfoExec struct {
	// contains filtered or unexported fields
}

func (PageInfoExec) Exec

func (instance PageInfoExec) Exec(ctx context.Context) (*PageInfo, error)

func (PageInfoExec) Exists

func (instance PageInfoExec) Exists(ctx context.Context) (bool, error)

type PageInfoExecArray

type PageInfoExecArray struct {
	// contains filtered or unexported fields
}

func (PageInfoExecArray) Exec

func (instance PageInfoExecArray) Exec(ctx context.Context) ([]PageInfo, error)

type User

type User struct {
	ID       string `json:"id"`
	Name     string `json:"name"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

type UserConnection

type UserConnection struct {
}

type UserConnectionExec

type UserConnectionExec struct {
	// contains filtered or unexported fields
}

func (*UserConnectionExec) Aggregate

func (instance *UserConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)

func (*UserConnectionExec) Edges

func (instance *UserConnectionExec) Edges() *UserEdgeExec

func (UserConnectionExec) Exec

func (instance UserConnectionExec) Exec(ctx context.Context) (*UserConnection, error)

func (UserConnectionExec) Exists

func (instance UserConnectionExec) Exists(ctx context.Context) (bool, error)

func (*UserConnectionExec) PageInfo

func (instance *UserConnectionExec) PageInfo() *PageInfoExec

type UserConnectionExecArray

type UserConnectionExecArray struct {
	// contains filtered or unexported fields
}

func (UserConnectionExecArray) Exec

type UserCreateInput

type UserCreateInput struct {
	Name     string                              `json:"name"`
	Email    string                              `json:"email"`
	Password string                              `json:"password"`
	Links    *LinkCreateManyWithoutPostedByInput `json:"links,omitempty"`
	Votes    *VoteCreateManyWithoutVotedByInput  `json:"votes,omitempty"`
}

type UserCreateOneWithoutLinksInput

type UserCreateOneWithoutLinksInput struct {
	Create  *UserCreateWithoutLinksInput `json:"create,omitempty"`
	Connect *UserWhereUniqueInput        `json:"connect,omitempty"`
}

type UserCreateOneWithoutVotesInput

type UserCreateOneWithoutVotesInput struct {
	Create  *UserCreateWithoutVotesInput `json:"create,omitempty"`
	Connect *UserWhereUniqueInput        `json:"connect,omitempty"`
}

type UserCreateWithoutLinksInput

type UserCreateWithoutLinksInput struct {
	Name     string                             `json:"name"`
	Email    string                             `json:"email"`
	Password string                             `json:"password"`
	Votes    *VoteCreateManyWithoutVotedByInput `json:"votes,omitempty"`
}

type UserCreateWithoutVotesInput

type UserCreateWithoutVotesInput struct {
	Name     string                              `json:"name"`
	Email    string                              `json:"email"`
	Password string                              `json:"password"`
	Links    *LinkCreateManyWithoutPostedByInput `json:"links,omitempty"`
}

type UserEdge

type UserEdge struct {
	Cursor string `json:"cursor"`
}

type UserEdgeExec

type UserEdgeExec struct {
	// contains filtered or unexported fields
}

func (UserEdgeExec) Exec

func (instance UserEdgeExec) Exec(ctx context.Context) (*UserEdge, error)

func (UserEdgeExec) Exists

func (instance UserEdgeExec) Exists(ctx context.Context) (bool, error)

func (*UserEdgeExec) Node

func (instance *UserEdgeExec) Node() *UserExec

type UserEdgeExecArray

type UserEdgeExecArray struct {
	// contains filtered or unexported fields
}

func (UserEdgeExecArray) Exec

func (instance UserEdgeExecArray) Exec(ctx context.Context) ([]UserEdge, error)

type UserExec

type UserExec struct {
	// contains filtered or unexported fields
}

func (UserExec) Exec

func (instance UserExec) Exec(ctx context.Context) (*User, error)

func (UserExec) Exists

func (instance UserExec) Exists(ctx context.Context) (bool, error)
func (instance *UserExec) Links(params *LinksParamsExec) *LinkExecArray

func (*UserExec) Votes

func (instance *UserExec) Votes(params *VotesParamsExec) *VoteExecArray

type UserExecArray

type UserExecArray struct {
	// contains filtered or unexported fields
}

func (UserExecArray) Exec

func (instance UserExecArray) Exec(ctx context.Context) ([]User, error)

type UserOrderByInput

type UserOrderByInput string
const (
	UserOrderByInputIDAsc         UserOrderByInput = "id_ASC"
	UserOrderByInputIDDesc        UserOrderByInput = "id_DESC"
	UserOrderByInputNameAsc       UserOrderByInput = "name_ASC"
	UserOrderByInputNameDesc      UserOrderByInput = "name_DESC"
	UserOrderByInputEmailAsc      UserOrderByInput = "email_ASC"
	UserOrderByInputEmailDesc     UserOrderByInput = "email_DESC"
	UserOrderByInputPasswordAsc   UserOrderByInput = "password_ASC"
	UserOrderByInputPasswordDesc  UserOrderByInput = "password_DESC"
	UserOrderByInputCreatedAtAsc  UserOrderByInput = "createdAt_ASC"
	UserOrderByInputCreatedAtDesc UserOrderByInput = "createdAt_DESC"
	UserOrderByInputUpdatedAtAsc  UserOrderByInput = "updatedAt_ASC"
	UserOrderByInputUpdatedAtDesc UserOrderByInput = "updatedAt_DESC"
)

type UserPreviousValues

type UserPreviousValues struct {
	ID       string `json:"id"`
	Name     string `json:"name"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

type UserPreviousValuesExec

type UserPreviousValuesExec struct {
	// contains filtered or unexported fields
}

func (UserPreviousValuesExec) Exec

func (UserPreviousValuesExec) Exists

func (instance UserPreviousValuesExec) Exists(ctx context.Context) (bool, error)

type UserPreviousValuesExecArray

type UserPreviousValuesExecArray struct {
	// contains filtered or unexported fields
}

func (UserPreviousValuesExecArray) Exec

type UserSubscriptionPayload

type UserSubscriptionPayload struct {
	UpdatedFields []string `json:"updatedFields,omitempty"`
}

type UserSubscriptionPayloadExec

type UserSubscriptionPayloadExec struct {
	// contains filtered or unexported fields
}

func (UserSubscriptionPayloadExec) Exec

func (UserSubscriptionPayloadExec) Exists

func (instance UserSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)

func (*UserSubscriptionPayloadExec) Node

func (instance *UserSubscriptionPayloadExec) Node() *UserExec

func (*UserSubscriptionPayloadExec) PreviousValues

func (instance *UserSubscriptionPayloadExec) PreviousValues() *UserPreviousValuesExec

type UserSubscriptionPayloadExecArray

type UserSubscriptionPayloadExecArray struct {
	// contains filtered or unexported fields
}

func (UserSubscriptionPayloadExecArray) Exec

type UserSubscriptionWhereInput

type UserSubscriptionWhereInput struct {
	MutationIn                 []MutationType               `json:"mutation_in,omitempty"`
	UpdatedFieldsContains      *string                      `json:"updatedFields_contains,omitempty"`
	UpdatedFieldsContainsEvery []string                     `json:"updatedFields_contains_every,omitempty"`
	UpdatedFieldsContainsSome  []string                     `json:"updatedFields_contains_some,omitempty"`
	Node                       *UserWhereInput              `json:"node,omitempty"`
	And                        []UserSubscriptionWhereInput `json:"AND,omitempty"`
	Or                         []UserSubscriptionWhereInput `json:"OR,omitempty"`
	Not                        []UserSubscriptionWhereInput `json:"NOT,omitempty"`
}

type UserUpdateInput

type UserUpdateInput struct {
	Name     *string                             `json:"name,omitempty"`
	Email    *string                             `json:"email,omitempty"`
	Password *string                             `json:"password,omitempty"`
	Links    *LinkUpdateManyWithoutPostedByInput `json:"links,omitempty"`
	Votes    *VoteUpdateManyWithoutVotedByInput  `json:"votes,omitempty"`
}

type UserUpdateManyParams

type UserUpdateManyParams struct {
	Data  UserUpdateInput `json:"data"`
	Where *UserWhereInput `json:"where,omitempty"`
}

type UserUpdateOneRequiredWithoutVotesInput

type UserUpdateOneRequiredWithoutVotesInput struct {
	Create  *UserCreateWithoutVotesInput     `json:"create,omitempty"`
	Update  *UserUpdateWithoutVotesDataInput `json:"update,omitempty"`
	Upsert  *UserUpsertWithoutVotesInput     `json:"upsert,omitempty"`
	Connect *UserWhereUniqueInput            `json:"connect,omitempty"`
}

type UserUpdateOneWithoutLinksInput

type UserUpdateOneWithoutLinksInput struct {
	Create     *UserCreateWithoutLinksInput     `json:"create,omitempty"`
	Update     *UserUpdateWithoutLinksDataInput `json:"update,omitempty"`
	Upsert     *UserUpsertWithoutLinksInput     `json:"upsert,omitempty"`
	Delete     *bool                            `json:"delete,omitempty"`
	Disconnect *bool                            `json:"disconnect,omitempty"`
	Connect    *UserWhereUniqueInput            `json:"connect,omitempty"`
}

type UserUpdateParams

type UserUpdateParams struct {
	Data  UserUpdateInput      `json:"data"`
	Where UserWhereUniqueInput `json:"where"`
}

type UserUpdateWithoutLinksDataInput

type UserUpdateWithoutLinksDataInput struct {
	Name     *string                            `json:"name,omitempty"`
	Email    *string                            `json:"email,omitempty"`
	Password *string                            `json:"password,omitempty"`
	Votes    *VoteUpdateManyWithoutVotedByInput `json:"votes,omitempty"`
}

type UserUpdateWithoutVotesDataInput

type UserUpdateWithoutVotesDataInput struct {
	Name     *string                             `json:"name,omitempty"`
	Email    *string                             `json:"email,omitempty"`
	Password *string                             `json:"password,omitempty"`
	Links    *LinkUpdateManyWithoutPostedByInput `json:"links,omitempty"`
}

type UserUpsertParams

type UserUpsertParams struct {
	Where  UserWhereUniqueInput `json:"where"`
	Create UserCreateInput      `json:"create"`
	Update UserUpdateInput      `json:"update"`
}

type UserUpsertWithoutLinksInput

type UserUpsertWithoutLinksInput struct {
	Update UserUpdateWithoutLinksDataInput `json:"update"`
	Create UserCreateWithoutLinksInput     `json:"create"`
}

type UserUpsertWithoutVotesInput

type UserUpsertWithoutVotesInput struct {
	Update UserUpdateWithoutVotesDataInput `json:"update"`
	Create UserCreateWithoutVotesInput     `json:"create"`
}

type UserWhereInput

type UserWhereInput struct {
	ID                    *string          `json:"id,omitempty"`
	IDNot                 *string          `json:"id_not,omitempty"`
	IDIn                  []string         `json:"id_in,omitempty"`
	IDNotIn               []string         `json:"id_not_in,omitempty"`
	IDLt                  *string          `json:"id_lt,omitempty"`
	IDLte                 *string          `json:"id_lte,omitempty"`
	IDGt                  *string          `json:"id_gt,omitempty"`
	IDGte                 *string          `json:"id_gte,omitempty"`
	IDContains            *string          `json:"id_contains,omitempty"`
	IDNotContains         *string          `json:"id_not_contains,omitempty"`
	IDStartsWith          *string          `json:"id_starts_with,omitempty"`
	IDNotStartsWith       *string          `json:"id_not_starts_with,omitempty"`
	IDEndsWith            *string          `json:"id_ends_with,omitempty"`
	IDNotEndsWith         *string          `json:"id_not_ends_with,omitempty"`
	Name                  *string          `json:"name,omitempty"`
	NameNot               *string          `json:"name_not,omitempty"`
	NameIn                []string         `json:"name_in,omitempty"`
	NameNotIn             []string         `json:"name_not_in,omitempty"`
	NameLt                *string          `json:"name_lt,omitempty"`
	NameLte               *string          `json:"name_lte,omitempty"`
	NameGt                *string          `json:"name_gt,omitempty"`
	NameGte               *string          `json:"name_gte,omitempty"`
	NameContains          *string          `json:"name_contains,omitempty"`
	NameNotContains       *string          `json:"name_not_contains,omitempty"`
	NameStartsWith        *string          `json:"name_starts_with,omitempty"`
	NameNotStartsWith     *string          `json:"name_not_starts_with,omitempty"`
	NameEndsWith          *string          `json:"name_ends_with,omitempty"`
	NameNotEndsWith       *string          `json:"name_not_ends_with,omitempty"`
	Email                 *string          `json:"email,omitempty"`
	EmailNot              *string          `json:"email_not,omitempty"`
	EmailIn               []string         `json:"email_in,omitempty"`
	EmailNotIn            []string         `json:"email_not_in,omitempty"`
	EmailLt               *string          `json:"email_lt,omitempty"`
	EmailLte              *string          `json:"email_lte,omitempty"`
	EmailGt               *string          `json:"email_gt,omitempty"`
	EmailGte              *string          `json:"email_gte,omitempty"`
	EmailContains         *string          `json:"email_contains,omitempty"`
	EmailNotContains      *string          `json:"email_not_contains,omitempty"`
	EmailStartsWith       *string          `json:"email_starts_with,omitempty"`
	EmailNotStartsWith    *string          `json:"email_not_starts_with,omitempty"`
	EmailEndsWith         *string          `json:"email_ends_with,omitempty"`
	EmailNotEndsWith      *string          `json:"email_not_ends_with,omitempty"`
	Password              *string          `json:"password,omitempty"`
	PasswordNot           *string          `json:"password_not,omitempty"`
	PasswordIn            []string         `json:"password_in,omitempty"`
	PasswordNotIn         []string         `json:"password_not_in,omitempty"`
	PasswordLt            *string          `json:"password_lt,omitempty"`
	PasswordLte           *string          `json:"password_lte,omitempty"`
	PasswordGt            *string          `json:"password_gt,omitempty"`
	PasswordGte           *string          `json:"password_gte,omitempty"`
	PasswordContains      *string          `json:"password_contains,omitempty"`
	PasswordNotContains   *string          `json:"password_not_contains,omitempty"`
	PasswordStartsWith    *string          `json:"password_starts_with,omitempty"`
	PasswordNotStartsWith *string          `json:"password_not_starts_with,omitempty"`
	PasswordEndsWith      *string          `json:"password_ends_with,omitempty"`
	PasswordNotEndsWith   *string          `json:"password_not_ends_with,omitempty"`
	LinksEvery            *LinkWhereInput  `json:"links_every,omitempty"`
	LinksSome             *LinkWhereInput  `json:"links_some,omitempty"`
	LinksNone             *LinkWhereInput  `json:"links_none,omitempty"`
	VotesEvery            *VoteWhereInput  `json:"votes_every,omitempty"`
	VotesSome             *VoteWhereInput  `json:"votes_some,omitempty"`
	VotesNone             *VoteWhereInput  `json:"votes_none,omitempty"`
	And                   []UserWhereInput `json:"AND,omitempty"`
	Or                    []UserWhereInput `json:"OR,omitempty"`
	Not                   []UserWhereInput `json:"NOT,omitempty"`
}

type UserWhereUniqueInput

type UserWhereUniqueInput struct {
	ID    *string `json:"id,omitempty"`
	Email *string `json:"email,omitempty"`
}

type UsersConnectionParams

type UsersConnectionParams struct {
	Where   *UserWhereInput   `json:"where,omitempty"`
	OrderBy *UserOrderByInput `json:"orderBy,omitempty"`
	Skip    *int32            `json:"skip,omitempty"`
	After   *string           `json:"after,omitempty"`
	Before  *string           `json:"before,omitempty"`
	First   *int32            `json:"first,omitempty"`
	Last    *int32            `json:"last,omitempty"`
}

type UsersParams

type UsersParams struct {
	Where   *UserWhereInput   `json:"where,omitempty"`
	OrderBy *UserOrderByInput `json:"orderBy,omitempty"`
	Skip    *int32            `json:"skip,omitempty"`
	After   *string           `json:"after,omitempty"`
	Before  *string           `json:"before,omitempty"`
	First   *int32            `json:"first,omitempty"`
	Last    *int32            `json:"last,omitempty"`
}

type Vote

type Vote struct {
	ID string `json:"id"`
}

type VoteConnection

type VoteConnection struct {
}

type VoteConnectionExec

type VoteConnectionExec struct {
	// contains filtered or unexported fields
}

func (*VoteConnectionExec) Aggregate

func (instance *VoteConnectionExec) Aggregate(ctx context.Context) (Aggregate, error)

func (*VoteConnectionExec) Edges

func (instance *VoteConnectionExec) Edges() *VoteEdgeExec

func (VoteConnectionExec) Exec

func (instance VoteConnectionExec) Exec(ctx context.Context) (*VoteConnection, error)

func (VoteConnectionExec) Exists

func (instance VoteConnectionExec) Exists(ctx context.Context) (bool, error)

func (*VoteConnectionExec) PageInfo

func (instance *VoteConnectionExec) PageInfo() *PageInfoExec

type VoteConnectionExecArray

type VoteConnectionExecArray struct {
	// contains filtered or unexported fields
}

func (VoteConnectionExecArray) Exec

type VoteCreateInput

type VoteCreateInput struct {
	Link    LinkCreateOneWithoutAllVotesInput `json:"link"`
	VotedBy UserCreateOneWithoutVotesInput    `json:"votedBy"`
}

type VoteCreateManyWithoutLinkInput

type VoteCreateManyWithoutLinkInput struct {
	Create  []VoteCreateWithoutLinkInput `json:"create,omitempty"`
	Connect []VoteWhereUniqueInput       `json:"connect,omitempty"`
}

type VoteCreateManyWithoutVotedByInput

type VoteCreateManyWithoutVotedByInput struct {
	Create  []VoteCreateWithoutVotedByInput `json:"create,omitempty"`
	Connect []VoteWhereUniqueInput          `json:"connect,omitempty"`
}

type VoteCreateWithoutLinkInput

type VoteCreateWithoutLinkInput struct {
	VotedBy UserCreateOneWithoutVotesInput `json:"votedBy"`
}

type VoteCreateWithoutVotedByInput

type VoteCreateWithoutVotedByInput struct {
	Link LinkCreateOneWithoutAllVotesInput `json:"link"`
}

type VoteEdge

type VoteEdge struct {
	Cursor string `json:"cursor"`
}

type VoteEdgeExec

type VoteEdgeExec struct {
	// contains filtered or unexported fields
}

func (VoteEdgeExec) Exec

func (instance VoteEdgeExec) Exec(ctx context.Context) (*VoteEdge, error)

func (VoteEdgeExec) Exists

func (instance VoteEdgeExec) Exists(ctx context.Context) (bool, error)

func (*VoteEdgeExec) Node

func (instance *VoteEdgeExec) Node() *VoteExec

type VoteEdgeExecArray

type VoteEdgeExecArray struct {
	// contains filtered or unexported fields
}

func (VoteEdgeExecArray) Exec

func (instance VoteEdgeExecArray) Exec(ctx context.Context) ([]VoteEdge, error)

type VoteExec

type VoteExec struct {
	// contains filtered or unexported fields
}

func (VoteExec) Exec

func (instance VoteExec) Exec(ctx context.Context) (*Vote, error)

func (VoteExec) Exists

func (instance VoteExec) Exists(ctx context.Context) (bool, error)
func (instance *VoteExec) Link() *LinkExec

func (*VoteExec) VotedBy

func (instance *VoteExec) VotedBy() *UserExec

type VoteExecArray

type VoteExecArray struct {
	// contains filtered or unexported fields
}

func (VoteExecArray) Exec

func (instance VoteExecArray) Exec(ctx context.Context) ([]Vote, error)

type VoteOrderByInput

type VoteOrderByInput string
const (
	VoteOrderByInputIDAsc         VoteOrderByInput = "id_ASC"
	VoteOrderByInputIDDesc        VoteOrderByInput = "id_DESC"
	VoteOrderByInputCreatedAtAsc  VoteOrderByInput = "createdAt_ASC"
	VoteOrderByInputCreatedAtDesc VoteOrderByInput = "createdAt_DESC"
	VoteOrderByInputUpdatedAtAsc  VoteOrderByInput = "updatedAt_ASC"
	VoteOrderByInputUpdatedAtDesc VoteOrderByInput = "updatedAt_DESC"
)

type VotePreviousValues

type VotePreviousValues struct {
	ID string `json:"id"`
}

type VotePreviousValuesExec

type VotePreviousValuesExec struct {
	// contains filtered or unexported fields
}

func (VotePreviousValuesExec) Exec

func (VotePreviousValuesExec) Exists

func (instance VotePreviousValuesExec) Exists(ctx context.Context) (bool, error)

type VotePreviousValuesExecArray

type VotePreviousValuesExecArray struct {
	// contains filtered or unexported fields
}

func (VotePreviousValuesExecArray) Exec

type VoteSubscriptionPayload

type VoteSubscriptionPayload struct {
	UpdatedFields []string `json:"updatedFields,omitempty"`
}

type VoteSubscriptionPayloadExec

type VoteSubscriptionPayloadExec struct {
	// contains filtered or unexported fields
}

func (VoteSubscriptionPayloadExec) Exec

func (VoteSubscriptionPayloadExec) Exists

func (instance VoteSubscriptionPayloadExec) Exists(ctx context.Context) (bool, error)

func (*VoteSubscriptionPayloadExec) Node

func (instance *VoteSubscriptionPayloadExec) Node() *VoteExec

func (*VoteSubscriptionPayloadExec) PreviousValues

func (instance *VoteSubscriptionPayloadExec) PreviousValues() *VotePreviousValuesExec

type VoteSubscriptionPayloadExecArray

type VoteSubscriptionPayloadExecArray struct {
	// contains filtered or unexported fields
}

func (VoteSubscriptionPayloadExecArray) Exec

type VoteSubscriptionWhereInput

type VoteSubscriptionWhereInput struct {
	MutationIn                 []MutationType               `json:"mutation_in,omitempty"`
	UpdatedFieldsContains      *string                      `json:"updatedFields_contains,omitempty"`
	UpdatedFieldsContainsEvery []string                     `json:"updatedFields_contains_every,omitempty"`
	UpdatedFieldsContainsSome  []string                     `json:"updatedFields_contains_some,omitempty"`
	Node                       *VoteWhereInput              `json:"node,omitempty"`
	And                        []VoteSubscriptionWhereInput `json:"AND,omitempty"`
	Or                         []VoteSubscriptionWhereInput `json:"OR,omitempty"`
	Not                        []VoteSubscriptionWhereInput `json:"NOT,omitempty"`
}

type VoteUpdateInput

type VoteUpdateInput struct {
	Link    *LinkUpdateOneRequiredWithoutAllVotesInput `json:"link,omitempty"`
	VotedBy *UserUpdateOneRequiredWithoutVotesInput    `json:"votedBy,omitempty"`
}

type VoteUpdateManyParams

type VoteUpdateManyParams struct {
	Data  VoteUpdateInput `json:"data"`
	Where *VoteWhereInput `json:"where,omitempty"`
}

type VoteUpdateManyWithoutLinkInput

type VoteUpdateManyWithoutLinkInput struct {
	Create     []VoteCreateWithoutLinkInput                `json:"create,omitempty"`
	Delete     []VoteWhereUniqueInput                      `json:"delete,omitempty"`
	Connect    []VoteWhereUniqueInput                      `json:"connect,omitempty"`
	Disconnect []VoteWhereUniqueInput                      `json:"disconnect,omitempty"`
	Update     []VoteUpdateWithWhereUniqueWithoutLinkInput `json:"update,omitempty"`
	Upsert     []VoteUpsertWithWhereUniqueWithoutLinkInput `json:"upsert,omitempty"`
}

type VoteUpdateManyWithoutVotedByInput

type VoteUpdateManyWithoutVotedByInput struct {
	Create     []VoteCreateWithoutVotedByInput                `json:"create,omitempty"`
	Delete     []VoteWhereUniqueInput                         `json:"delete,omitempty"`
	Connect    []VoteWhereUniqueInput                         `json:"connect,omitempty"`
	Disconnect []VoteWhereUniqueInput                         `json:"disconnect,omitempty"`
	Update     []VoteUpdateWithWhereUniqueWithoutVotedByInput `json:"update,omitempty"`
	Upsert     []VoteUpsertWithWhereUniqueWithoutVotedByInput `json:"upsert,omitempty"`
}

type VoteUpdateParams

type VoteUpdateParams struct {
	Data  VoteUpdateInput      `json:"data"`
	Where VoteWhereUniqueInput `json:"where"`
}

type VoteUpdateWithWhereUniqueWithoutLinkInput

type VoteUpdateWithWhereUniqueWithoutLinkInput struct {
	Where VoteWhereUniqueInput           `json:"where"`
	Data  VoteUpdateWithoutLinkDataInput `json:"data"`
}

type VoteUpdateWithWhereUniqueWithoutVotedByInput

type VoteUpdateWithWhereUniqueWithoutVotedByInput struct {
	Where VoteWhereUniqueInput              `json:"where"`
	Data  VoteUpdateWithoutVotedByDataInput `json:"data"`
}

type VoteUpdateWithoutLinkDataInput

type VoteUpdateWithoutLinkDataInput struct {
	VotedBy *UserUpdateOneRequiredWithoutVotesInput `json:"votedBy,omitempty"`
}

type VoteUpdateWithoutVotedByDataInput

type VoteUpdateWithoutVotedByDataInput struct {
	Link *LinkUpdateOneRequiredWithoutAllVotesInput `json:"link,omitempty"`
}

type VoteUpsertParams

type VoteUpsertParams struct {
	Where  VoteWhereUniqueInput `json:"where"`
	Create VoteCreateInput      `json:"create"`
	Update VoteUpdateInput      `json:"update"`
}

type VoteUpsertWithWhereUniqueWithoutLinkInput

type VoteUpsertWithWhereUniqueWithoutLinkInput struct {
	Where  VoteWhereUniqueInput           `json:"where"`
	Update VoteUpdateWithoutLinkDataInput `json:"update"`
	Create VoteCreateWithoutLinkInput     `json:"create"`
}

type VoteUpsertWithWhereUniqueWithoutVotedByInput

type VoteUpsertWithWhereUniqueWithoutVotedByInput struct {
	Where  VoteWhereUniqueInput              `json:"where"`
	Update VoteUpdateWithoutVotedByDataInput `json:"update"`
	Create VoteCreateWithoutVotedByInput     `json:"create"`
}

type VoteWhereInput

type VoteWhereInput struct {
	ID              *string          `json:"id,omitempty"`
	IDNot           *string          `json:"id_not,omitempty"`
	IDIn            []string         `json:"id_in,omitempty"`
	IDNotIn         []string         `json:"id_not_in,omitempty"`
	IDLt            *string          `json:"id_lt,omitempty"`
	IDLte           *string          `json:"id_lte,omitempty"`
	IDGt            *string          `json:"id_gt,omitempty"`
	IDGte           *string          `json:"id_gte,omitempty"`
	IDContains      *string          `json:"id_contains,omitempty"`
	IDNotContains   *string          `json:"id_not_contains,omitempty"`
	IDStartsWith    *string          `json:"id_starts_with,omitempty"`
	IDNotStartsWith *string          `json:"id_not_starts_with,omitempty"`
	IDEndsWith      *string          `json:"id_ends_with,omitempty"`
	IDNotEndsWith   *string          `json:"id_not_ends_with,omitempty"`
	Link            *LinkWhereInput  `json:"link,omitempty"`
	VotedBy         *UserWhereInput  `json:"votedBy,omitempty"`
	And             []VoteWhereInput `json:"AND,omitempty"`
	Or              []VoteWhereInput `json:"OR,omitempty"`
	Not             []VoteWhereInput `json:"NOT,omitempty"`
}

type VoteWhereUniqueInput

type VoteWhereUniqueInput struct {
	ID *string `json:"id,omitempty"`
}

type VotesConnectionParams

type VotesConnectionParams struct {
	Where   *VoteWhereInput   `json:"where,omitempty"`
	OrderBy *VoteOrderByInput `json:"orderBy,omitempty"`
	Skip    *int32            `json:"skip,omitempty"`
	After   *string           `json:"after,omitempty"`
	Before  *string           `json:"before,omitempty"`
	First   *int32            `json:"first,omitempty"`
	Last    *int32            `json:"last,omitempty"`
}

type VotesParams

type VotesParams struct {
	Where   *VoteWhereInput   `json:"where,omitempty"`
	OrderBy *VoteOrderByInput `json:"orderBy,omitempty"`
	Skip    *int32            `json:"skip,omitempty"`
	After   *string           `json:"after,omitempty"`
	Before  *string           `json:"before,omitempty"`
	First   *int32            `json:"first,omitempty"`
	Last    *int32            `json:"last,omitempty"`
}

type VotesParamsExec

type VotesParamsExec struct {
	Where   *VoteWhereInput
	OrderBy *VoteOrderByInput
	Skip    *int32
	After   *string
	Before  *string
	First   *int32
	Last    *int32
}

Jump to

Keyboard shortcuts

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