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

Create is_occupied property in Bed model #1084

Closed
khavinshankar opened this issue Oct 28, 2022 · 1 comment
Closed

Create is_occupied property in Bed model #1084

khavinshankar opened this issue Oct 28, 2022 · 1 comment
Assignees

Comments

@khavinshankar
Copy link
Member

As of now, is_occupied is calculated for every fetch query, make a property in Bed model and store it in DB, so that it is not calculated on every fetch operation.

Originally posted by @vigneshhari in #1083 (comment)

@khavinshankar
Copy link
Member Author

Resolved in #1083

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

Successfully merging a pull request may close this issue.

1 participant