Skip to content

Need to create a find function in DB Models #8

@martinpetrov1096

Description

@martinpetrov1096

When creating a user, I need to be able to check if a username is already taken so I can notify the user.
Also, when the user enters their credentials, I need to find the user by username. So we definitely need functionality to search by username, but it might be a good time to think of implementing a generic find function in the db models. Though I can also see this being a lot of work, in which case we can just add search functions for specific fields as we need them

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions