Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORM convenience methods #18

Open
7 tasks
scriptbae opened this issue Dec 26, 2017 · 1 comment
Open
7 tasks

ORM convenience methods #18

scriptbae opened this issue Dec 26, 2017 · 1 comment

Comments

@scriptbae
Copy link

The ORM is currently extremely raw, comprising just models and a call to bootstrap the database.

The models module, or some new, related module should be augmented with convenience accessor-like methods which handle database session management implicit to front-end code.

This includes methods for the following actions:

  • CRUD for User
  • CRUD for Marker
  • CRUD for AdminUser
  • CRD for all the *Key models because new key creation should occur rather than an update to an existing key
  • CRUD for Challenge
  • CRUD for Submission, where status may change
  • CRUD for Reservation, where status may change
@cannotparse
Copy link
Member

cannotparse commented Dec 26, 2017

Should be a related module, similar to how this is built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants