Skip to content
Advertisement

Tag: sql

Django ORM Left Join onto same table

I have a custom permissions system in a django project that can link any user to any specific model instance to grant permission on that object. It is more complex than this, but boiled down: I want to query for all permissions for any user, that are linked to the same content_object(s) that a particular user has been granted permission(s)

In c# app, how to connect foreign key of subtask table in SQL?

I am trying to create a Task Management System using C# Web API & SQL Server. Here is what I am trying to achieve: Users can send POST requests to create a Task (with optional sub-tasks). Users can send GET requests to retrieve a Task (displaying all sub-tasks in the response if they exist) Here are some of my current

Advertisement