Chapter 1 : Introduction

  • Compass → GUI for MondoDB
  • Database names : collections and documents
    • collections ≅ tables
    • documents / objects ≅ registros
    • namespace = <database>.<collection>
  • Datasets
    • schema
    • documents
    • fields types:
      • int32
      • double
      • string
      • date
  • Fields with Documents as Values
    • uso en índices
    • nested documents : un documento (registro) puede contener otro documento (que contiene sus campos)
  • Fields with Arrays as Values
  • Filters:
    • JSON format
    • {«key»:«value»}
    • equality filter : exact value
    • range filter : {'birth year': {$gte: 1970,$lt: 1975}}
      • $gte(greater-equal), $lt(less than) : operators
  • geographical data
    • many functions / filtes
    • click+shift to select arround a point
  • info/cursos/mongodbuniversity/m001/cap1.txt
  • Darrera modificació: 05/12/2018 04:53
  • per admin