Aye-Bee-See / sqlite-express-api

0 stars 0 forks source link

Relations #19

Closed paxblueribbon closed 6 months ago

paxblueribbon commented 6 months ago

Relations all should now work, Prisoner belongs to Prison, Chat belongs to Prisoner and User, Message belongs to chat, Prison hasmany prison, chat hasmany messages, user and prisoner hasmany chat.

Prison, Prisoner, and chat now have optional "full" boolean parameter to include detailed information about one another and user.

Still todo is adding the "full" parameter to User get requests.