BD Class 4 Data Association

 Data Association: - 
It is the linkage or co-ordination between two data how they are related to each other and how one data affects other how data is linked to one or other form how we can manage that


In blog application we can have 3 schema

1. post
2.like
3.comment

this 3 schema can have different values in that 

1. post --> title,body,like,comment
title and body is independent but like and comment 
is referencing to their object/Schema 
we can have array of likes and comments
so that we can get to know that how many likes one particular post contains similarly with comment


2. like -- > post [array] , user [array]
3. comment --> post[array], user[array]

Comments

Popular posts from this blog

Edtech backend class 4

Authentication and autherization class 1