Tutorial by Examples

The Wrong Way Consider the following structure { "users": { // Uniquely generated IDs for children is common practice, // it's actually really useful for automating child creation. // Auto-incrementing an integer for a key can be problematic when a child is removed. ...
The following is an example of a simple and minimal college database that uses two-way relationships { "students": { "-SL3Cs0KFvDMQLIYZEzv": { "name": "Godric Gryffindor", "id": "900130309", "courses"...

Page 1 of 1