igorbenav/fastcrud

Deep Multi Joined Nested

Closed this issue · 0 comments

How to deep multiple joined?

Example:

{
  "data": [
    {
      "id": 0,
      "candidate": {
        "id": 1,
        "user": {
          "id": 0,
          "name": "User Userson",
          "username": "userson",
          "email": "user.userson@example.com",
          "is_superuser": true
        }
      },
      "job_offer": {
        "title": "Software Engineer",
        "reference": "REF12345",
        "localization": "New York",
        "city": "New York",
        "contract_type": "Fixed Term",
        "tasks": "Develop software applications",
        "experience": "3 years",
        "training": "Bachelor's Degree in Computer Science",
        "start_on": "2024-08-01",
        "expired_on": "2024-12-31",
        "id": 0,
        "industry_sector": {
          "name": "Technology",
          "id": 0
        },
        "company": {
          "name": "Tech Solutions",
          "email": "contact@techsolutions.com",
          "phone": "+1234567890",
          "function": "Information Technology Services",
          "id": 0
        },
        "is_valid": true,
        "is_closed": true
      }
    }
  ],
  "total_count": 0,
  "has_more": true,
  "page": 0,
  "items_per_page": 0
}