Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MongoPortfolioOCT ¶
func MongoPortfolioOCT(portfolio *dbModel.PortfolioModel, voter primitive.ObjectID)
MongoDB optimistic concurancy transaction
Types ¶
type Resolver ¶
Resolver contains db element
func (*Resolver) Cost ¶
func (r *Resolver) Cost() generated.CostResolver
Cost returns generated.CostResolver implementation.
func (*Resolver) Income ¶
func (r *Resolver) Income() generated.IncomeResolver
Income returns generated.IncomeResolver implementation.
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
func (*Resolver) User ¶
func (r *Resolver) User() generated.UserResolver
User returns generated.UserResolver implementation.
Click to show internal directories.
Click to hide internal directories.