For example if I want to access data of a `User` t...
# orm-help
i
For example if I want to access data of a
User
type inside a mutation like that:
Copy code
await ctx.db.mutation.updateUser({
  data: {
    availableMessages: this.maxMessages // <--- this will represent a variable which will update available messages for user for today
  }
})