SlideShare a Scribd company logo
1 of 30
ESTRUCTURA DE DATOS CON MONGO DB
Estructura de referencia por ‘parent’
{
_id: "MongoDB",
parent: "Databases"
}
Estructura de referencia por ‘parent’
db.libro_ed1.insertMany( [
{ _id: "MongoDB", parent: "Databases" },
{ _id: "dbm", parent: "Databases" },
{ _id: "Databases", parent: "Programming" }, { _id:
"Languages", parent: "Programming" }, { _id:
"Programming", parent: "Books" },
{ _id: "Books", parent: null }
] )
Estructura de referencia por ‘parent’
{
_id: "Databases",
children: [
"MongoDB",
"dbm" ]
}
Estructura de referencia por ‘children’
Estructura de referencia por ‘children’
db.libro_ed2.insertMany( [
{ _id: "MongoDB", children: [] },
{ _id: "dbm", children: [] },
{ _id: "Databases", children: [ "MongoDB", "dbm" ] },
{ _id: "Languages", children: [] },
{ _id: "Programming", children: ["Databases","Languages"]},
{ _id: "Books", children: [ "Programming" ] }
] )
Estructura de referencia por ‘children’
Estructura de arreglo de ancestros
{
_id: "MongoDB",
ancestors: [
"Books",
"Programming",
"Databases" ],
parent: "Databases"
}
db.libro_ed3.insertMany( [
{ _id: "MongoDB", ancestors:["Books", "Programming", "Databases" ],
parent: "Databases" },
{ _id: "dbm", ancestors:[ "Books", "Programming", "Databases" ],
parent: "Databases" },
{ _id: "Databases", ancestors:[ "Books", "Programming" ],
parent: "Programming" },
{ _id: "Languages", ancestors: [ "Books", "Programming" ],
parent: "Programming"},
{ _id: "Programming", ancestors:[ "Books" ],
parent: "Books" },
{ _id: "Books", ancestors: [ ],
parent: null } ] )
Estructura de arreglo de ancestros
Estructura de arreglo de ancestros
Estructura de arreglo de ancestros
{
_id: "MongoDB",
path: ",Books,Programming,Databases,"
}
Estructura de arreglo de ancestros
db.libro_ed4.insertMany( [
{_id: "Books", path: null },
{ _id: "Programming", path: ",Books," },
{ _id: "Databases", path: ",Books,Programming," },
{ _id: "Languages", path: ",Books,Programming," },
{ _id: "MongoDB", path: ",Books,Programming,Databases," },
{ _id: "dbm", path: ",Books,Programming,Databases," }
] )
Estructura de arreglo de ancestros
Estructura de arreglo de conjuntos anidados
{
_id: "MongoDB",
parent: "Databases",
left: 6,
right: 7
}
Estructura de arreglo de conjuntos anidados
– Nested Sets
db.libro_db5.insertMany( [
{ _id: "Books", parent: 0, left: 1, right: 12 },
{ _id: "Programming", parent: "Books", left: 2, right: 11 },
{ _id: "Languages", parent: "Programming", left: 3, right: 4 },
{ _id: "Databases", parent: "Programming", left: 5, right: 10 },
{ _id: "MongoDB", parent: "Databases", left: 6, right: 7 },
{ _id: "dbm", parent: "Databases", left: 8, right: 9 }
] )
Estructura de arreglo de conjuntos anidados
– Nested Sets
Nested Sets - Descendientes
Parent - Descendientes
Children - Descendientes
Nested Sets - Ancestros
Nested Sets – Calcular el nivel del nodo
Nested Sets – Hermanos a la izquierda y derecha
Nested Sets – Buscar los nodos a la izquierda y a la
derecha
Nested Sets – Insertar un nodo
Nested Sets – Insertar un nuevo nodo
Nested Sets – Borrar un nodo
Nested Sets – Borrar un nodo
Nested Sets – Numerar todo el árbol
Nested Sets – Numerar todo el árbol

More Related Content

What's hot

Building web applications with mongo db presentation
Building web applications with mongo db presentationBuilding web applications with mongo db presentation
Building web applications with mongo db presentation
Murat Çakal
 
Back to Basics 1: Thinking in documents
Back to Basics 1: Thinking in documentsBack to Basics 1: Thinking in documents
Back to Basics 1: Thinking in documents
MongoDB
 
Modeling Data in MongoDB
Modeling Data in MongoDBModeling Data in MongoDB
Modeling Data in MongoDB
lehresman
 

What's hot (20)

Starting out with MongoDB
Starting out with MongoDBStarting out with MongoDB
Starting out with MongoDB
 
Back to Basics Webinar 3: Schema Design Thinking in Documents
 Back to Basics Webinar 3: Schema Design Thinking in Documents Back to Basics Webinar 3: Schema Design Thinking in Documents
Back to Basics Webinar 3: Schema Design Thinking in Documents
 
Building web applications with mongo db presentation
Building web applications with mongo db presentationBuilding web applications with mongo db presentation
Building web applications with mongo db presentation
 
Json
JsonJson
Json
 
MongoDB at GUL
MongoDB at GULMongoDB at GUL
MongoDB at GUL
 
MongoDB Schema Design
MongoDB Schema DesignMongoDB Schema Design
MongoDB Schema Design
 
Back to Basics 1: Thinking in documents
Back to Basics 1: Thinking in documentsBack to Basics 1: Thinking in documents
Back to Basics 1: Thinking in documents
 
Data types
Data typesData types
Data types
 
Modeling Data in MongoDB
Modeling Data in MongoDBModeling Data in MongoDB
Modeling Data in MongoDB
 
An introduction to MongoDB
An introduction to MongoDBAn introduction to MongoDB
An introduction to MongoDB
 
Apache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
Apache CouchDB Presentation @ Sept. 2104 GTALUG MeetingApache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
Apache CouchDB Presentation @ Sept. 2104 GTALUG Meeting
 
Back to Basics Webinar 2: Your First MongoDB Application
Back to Basics Webinar 2: Your First MongoDB ApplicationBack to Basics Webinar 2: Your First MongoDB Application
Back to Basics Webinar 2: Your First MongoDB Application
 
NoSQL - An introduction to CouchDB
NoSQL - An introduction to CouchDBNoSQL - An introduction to CouchDB
NoSQL - An introduction to CouchDB
 
Webinar: Building Your First App with MongoDB and Java
Webinar: Building Your First App with MongoDB and JavaWebinar: Building Your First App with MongoDB and Java
Webinar: Building Your First App with MongoDB and Java
 
A Year With MongoDB: The Tips
A Year With MongoDB: The TipsA Year With MongoDB: The Tips
A Year With MongoDB: The Tips
 
Schema Design with MongoDB
Schema Design with MongoDBSchema Design with MongoDB
Schema Design with MongoDB
 
Socialite, the Open Source Status Feed Part 2: Managing the Social Graph
Socialite, the Open Source Status Feed Part 2: Managing the Social GraphSocialite, the Open Source Status Feed Part 2: Managing the Social Graph
Socialite, the Open Source Status Feed Part 2: Managing the Social Graph
 
Mongo DB schema design patterns
Mongo DB schema design patternsMongo DB schema design patterns
Mongo DB schema design patterns
 
MongoDB for Analytics
MongoDB for AnalyticsMongoDB for Analytics
MongoDB for Analytics
 
MongoDB
MongoDBMongoDB
MongoDB
 

Similar to Networkin II Estructuras con MongoDB y Javascript

MongoDB + Java + Spring Data
MongoDB + Java + Spring DataMongoDB + Java + Spring Data
MongoDB + Java + Spring Data
Anton Sulzhenko
 
Intro To Mongo Db
Intro To Mongo DbIntro To Mongo Db
Intro To Mongo Db
chriskite
 
MongoDB - Javascript for your Data
MongoDB - Javascript for your DataMongoDB - Javascript for your Data
MongoDB - Javascript for your Data
Paulo Fagundes
 

Similar to Networkin II Estructuras con MongoDB y Javascript (20)

Introduction to MongoDB and Workshop
Introduction to MongoDB and WorkshopIntroduction to MongoDB and Workshop
Introduction to MongoDB and Workshop
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
MongoDB and RDBMS
MongoDB and RDBMSMongoDB and RDBMS
MongoDB and RDBMS
 
Webinar: General Technical Overview of MongoDB for Dev Teams
Webinar: General Technical Overview of MongoDB for Dev TeamsWebinar: General Technical Overview of MongoDB for Dev Teams
Webinar: General Technical Overview of MongoDB for Dev Teams
 
Dev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDBDev Jumpstart: Build Your First App with MongoDB
Dev Jumpstart: Build Your First App with MongoDB
 
Elasticsearch & "PeopleSearch"
Elasticsearch & "PeopleSearch"Elasticsearch & "PeopleSearch"
Elasticsearch & "PeopleSearch"
 
MongoDB
MongoDBMongoDB
MongoDB
 
MongoDB + Java + Spring Data
MongoDB + Java + Spring DataMongoDB + Java + Spring Data
MongoDB + Java + Spring Data
 
MongoDB 101
MongoDB 101MongoDB 101
MongoDB 101
 
Intro To Mongo Db
Intro To Mongo DbIntro To Mongo Db
Intro To Mongo Db
 
Mongo db
Mongo dbMongo db
Mongo db
 
MongoDB - javascript for your data
MongoDB - javascript for your dataMongoDB - javascript for your data
MongoDB - javascript for your data
 
MongoDB - Javascript for your Data
MongoDB - Javascript for your DataMongoDB - Javascript for your Data
MongoDB - Javascript for your Data
 
MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...
MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...
MongoDB Evenings Houston: What's the Scoop on MongoDB and Hadoop? by Jake Ang...
 
Data access 2.0? Please welcome: Spring Data!
Data access 2.0? Please welcome: Spring Data!Data access 2.0? Please welcome: Spring Data!
Data access 2.0? Please welcome: Spring Data!
 
MongoDB
MongoDBMongoDB
MongoDB
 
Analytics with MongoDB Aggregation Framework and Hadoop Connector
Analytics with MongoDB Aggregation Framework and Hadoop ConnectorAnalytics with MongoDB Aggregation Framework and Hadoop Connector
Analytics with MongoDB Aggregation Framework and Hadoop Connector
 
Building your first app with MongoDB
Building your first app with MongoDBBuilding your first app with MongoDB
Building your first app with MongoDB
 
Mongo - an intermediate introduction
Mongo - an intermediate introductionMongo - an intermediate introduction
Mongo - an intermediate introduction
 

More from Víctor Mejía

More from Víctor Mejía (20)

Correo institucional y EVA
Correo institucional y EVACorreo institucional y EVA
Correo institucional y EVA
 
El algoritmo de Dijkstra
El algoritmo de DijkstraEl algoritmo de Dijkstra
El algoritmo de Dijkstra
 
El algoritmo de dijkstra
El algoritmo de dijkstraEl algoritmo de dijkstra
El algoritmo de dijkstra
 
Neuromarketing Validación ITQ
Neuromarketing Validación ITQNeuromarketing Validación ITQ
Neuromarketing Validación ITQ
 
Proposiciones Categóricas Introducción
Proposiciones Categóricas IntroducciónProposiciones Categóricas Introducción
Proposiciones Categóricas Introducción
 
Herramientas didácticas virtuales
Herramientas didácticas virtualesHerramientas didácticas virtuales
Herramientas didácticas virtuales
 
El Reto de la Virtual en Educación
El Reto de la Virtual en EducaciónEl Reto de la Virtual en Educación
El Reto de la Virtual en Educación
 
Razonamiento Lógico para Administración Ejemplos
Razonamiento Lógico para Administración EjemplosRazonamiento Lógico para Administración Ejemplos
Razonamiento Lógico para Administración Ejemplos
 
Razonamiento Lógico Para Administración
Razonamiento Lógico Para AdministraciónRazonamiento Lógico Para Administración
Razonamiento Lógico Para Administración
 
INTRODUCCIÓN A LAS MATEMÁTICAS APLICADAS
INTRODUCCIÓN A LAS MATEMÁTICAS APLICADASINTRODUCCIÓN A LAS MATEMÁTICAS APLICADAS
INTRODUCCIÓN A LAS MATEMÁTICAS APLICADAS
 
Networking II MongoDB: Primeros Pasos
Networking II MongoDB: Primeros PasosNetworking II MongoDB: Primeros Pasos
Networking II MongoDB: Primeros Pasos
 
Aplicaciones de Store Procedures - PLPGSQL
Aplicaciones de Store Procedures - PLPGSQLAplicaciones de Store Procedures - PLPGSQL
Aplicaciones de Store Procedures - PLPGSQL
 
Procedimientos almacenados en Postgres
Procedimientos almacenados en PostgresProcedimientos almacenados en Postgres
Procedimientos almacenados en Postgres
 
E-Learning 01 Presentación del curso para el ITQ
E-Learning 01 Presentación del curso para el ITQE-Learning 01 Presentación del curso para el ITQ
E-Learning 01 Presentación del curso para el ITQ
 
E-Learning principios de educación ITQ
E-Learning principios de educación ITQE-Learning principios de educación ITQ
E-Learning principios de educación ITQ
 
Presentación Clase Virtual
Presentación Clase Virtual Presentación Clase Virtual
Presentación Clase Virtual
 
ITQ Admin DB SQL JOIN
ITQ Admin DB SQL JOINITQ Admin DB SQL JOIN
ITQ Admin DB SQL JOIN
 
ITQ E-Learning Modelos Educativos Intro
ITQ E-Learning Modelos Educativos IntroITQ E-Learning Modelos Educativos Intro
ITQ E-Learning Modelos Educativos Intro
 
ITQ E-Learning Modelos Educativos
ITQ E-Learning Modelos EducativosITQ E-Learning Modelos Educativos
ITQ E-Learning Modelos Educativos
 
ITQ Admin DB SQL Union - Union All - Diferencia
ITQ Admin DB SQL Union - Union All - DiferenciaITQ Admin DB SQL Union - Union All - Diferencia
ITQ Admin DB SQL Union - Union All - Diferencia
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

Networkin II Estructuras con MongoDB y Javascript

  • 1. ESTRUCTURA DE DATOS CON MONGO DB
  • 2.
  • 3. Estructura de referencia por ‘parent’ { _id: "MongoDB", parent: "Databases" }
  • 4. Estructura de referencia por ‘parent’ db.libro_ed1.insertMany( [ { _id: "MongoDB", parent: "Databases" }, { _id: "dbm", parent: "Databases" }, { _id: "Databases", parent: "Programming" }, { _id: "Languages", parent: "Programming" }, { _id: "Programming", parent: "Books" }, { _id: "Books", parent: null } ] )
  • 5. Estructura de referencia por ‘parent’
  • 6. { _id: "Databases", children: [ "MongoDB", "dbm" ] } Estructura de referencia por ‘children’
  • 7. Estructura de referencia por ‘children’ db.libro_ed2.insertMany( [ { _id: "MongoDB", children: [] }, { _id: "dbm", children: [] }, { _id: "Databases", children: [ "MongoDB", "dbm" ] }, { _id: "Languages", children: [] }, { _id: "Programming", children: ["Databases","Languages"]}, { _id: "Books", children: [ "Programming" ] } ] )
  • 8. Estructura de referencia por ‘children’
  • 9. Estructura de arreglo de ancestros { _id: "MongoDB", ancestors: [ "Books", "Programming", "Databases" ], parent: "Databases" }
  • 10. db.libro_ed3.insertMany( [ { _id: "MongoDB", ancestors:["Books", "Programming", "Databases" ], parent: "Databases" }, { _id: "dbm", ancestors:[ "Books", "Programming", "Databases" ], parent: "Databases" }, { _id: "Databases", ancestors:[ "Books", "Programming" ], parent: "Programming" }, { _id: "Languages", ancestors: [ "Books", "Programming" ], parent: "Programming"}, { _id: "Programming", ancestors:[ "Books" ], parent: "Books" }, { _id: "Books", ancestors: [ ], parent: null } ] ) Estructura de arreglo de ancestros
  • 11. Estructura de arreglo de ancestros
  • 12. Estructura de arreglo de ancestros { _id: "MongoDB", path: ",Books,Programming,Databases," }
  • 13. Estructura de arreglo de ancestros db.libro_ed4.insertMany( [ {_id: "Books", path: null }, { _id: "Programming", path: ",Books," }, { _id: "Databases", path: ",Books,Programming," }, { _id: "Languages", path: ",Books,Programming," }, { _id: "MongoDB", path: ",Books,Programming,Databases," }, { _id: "dbm", path: ",Books,Programming,Databases," } ] )
  • 14. Estructura de arreglo de ancestros
  • 15. Estructura de arreglo de conjuntos anidados
  • 16. { _id: "MongoDB", parent: "Databases", left: 6, right: 7 } Estructura de arreglo de conjuntos anidados – Nested Sets
  • 17. db.libro_db5.insertMany( [ { _id: "Books", parent: 0, left: 1, right: 12 }, { _id: "Programming", parent: "Books", left: 2, right: 11 }, { _id: "Languages", parent: "Programming", left: 3, right: 4 }, { _id: "Databases", parent: "Programming", left: 5, right: 10 }, { _id: "MongoDB", parent: "Databases", left: 6, right: 7 }, { _id: "dbm", parent: "Databases", left: 8, right: 9 } ] ) Estructura de arreglo de conjuntos anidados – Nested Sets
  • 18. Nested Sets - Descendientes
  • 21. Nested Sets - Ancestros
  • 22. Nested Sets – Calcular el nivel del nodo
  • 23. Nested Sets – Hermanos a la izquierda y derecha
  • 24. Nested Sets – Buscar los nodos a la izquierda y a la derecha
  • 25. Nested Sets – Insertar un nodo
  • 26. Nested Sets – Insertar un nuevo nodo
  • 27. Nested Sets – Borrar un nodo
  • 28. Nested Sets – Borrar un nodo
  • 29. Nested Sets – Numerar todo el árbol
  • 30. Nested Sets – Numerar todo el árbol