Skip to content

Create db queries #13

@JollyRen

Description

@JollyRen

Todo

User DB Functions

  • createUser
  • getUserById
  • getUserByIdAuth (authorized users only, has all data; backend use only)
  • getUserByUsername (authorized users only, has all data, no subs; backend use only)
  • verifyUser (uses getUserByUsername)
  • getAllUsers
  • updateUser
  • deleteUser (changes active state)
  • createSub
  • getSubByUserId
  • getSubsByStatus
  • updateSub
  • cancelSub

Item DB Functions

  • createColor
  • getColorByName
  • getColorByCode
  • editColor
  • deleteColor
  • addItem
  • getItemByName
  • getItemByType
  • getItemBySubtype
  • editItem
  • deleteItem
  • addPattern
  • editPattern
  • deletePattern

Client DB Functions

  • createClient
  • updateClient
  • deleteClient
  • createChoice
  • getChoice
  • updateChoice
  • deleteChoice
  • getClientsByUser
  • getclientById

Metadata

Metadata

Assignees

Labels

NewNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions