Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 926 Bytes

File metadata and controls

32 lines (27 loc) · 926 Bytes

Databases, Collections And Documents

PoloDB has a hierarchical structure.

block-beta
  columns 7
  space:3 db[(" Database ")] space:3
  space:7
  space:1 c1(" Collection ") space:2 c2(" Collection ") space:1 c3(" Collection ")
  space:7
  d1(["Document"]) space:1 d2(["Document"]) d3(["Document"]) d4(["Document"]) d5(["Document"]) d6(["Document"])
  db --> c1
  db --> c2
  db --> c3
  c1 --> d1
  c1 --> d2
  c2 --> d3
  c2 --> d4
  c2 --> d5
  c3 --> d6
Loading

The topmost level is a Database. A Database may contain multiple Collections. A Collection may contain multiple Documents. A Document is of type JSON. It is possible to have Documents of custom types.

➡️ Next: Opening Databases In Memory

📘 Back: Table of contents