Py学习  »  NoSql

我可以对学生出勤NoSQL数据库做哪些改进?

Fawzi Rifa'i • 4 年前 • 764 次点击  

我在为学生考勤系统设计一个NoSQL数据库,我希望你的建议,以改善它,因为我是新的领域。

我想问一个问题。特定学生的课程,2。特定班级的学生,3。在特定日期参加特定课程的学员,4。特定班级的特定学生的出勤和缺勤计数。

{
  "attendance" : {
    "CS 331" : {
      "7-3-2019" : {
        "2014901001" : true
      }
    }
  },
  "class" : {
    "class01" : {
      "id" : "CS 331",
      "name" : "Software Design",
      "students" : {
        "2014901001" : true
      }
    }
  },
  "classEnrollment" : {
    "CS 331" : {
      "2014901001" : {
        "absence" : 0,
        "attendant" : 1
      }
    }
  },
  "instructor" : {
    "instructor01" : {
      "id" : "01"
    }
  },
  "instructorEnrollment" : {
    "01" : {
      "CS 331" : true
    }
  },
  "student" : {
    "student01" : {
      "id" : "2014901001",
      "name" : "Paul Howard"
    }
  },
  "studentEnrollment" : {
    "2014901001" : {
      "CS 331" : true
    }
  }
}
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/49361
 
764 次点击  
文章 [ 1 ]  |  最新文章 4 年前