From 0116cc48cee94c72db12cd8f4f65aceb126176c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Tue, 24 Aug 2021 15:10:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=B1=20Add=20diagrams=20for=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/img/databases/external-server.drawio | 93 ++++++++ docs/img/databases/external-server.svg | 1 + docs/img/databases/multiple-servers.drawio | 205 ++++++++++++++++ docs/img/databases/multiple-servers.svg | 1 + docs/img/databases/relationships.drawio | 151 ++++++++++++ docs/img/databases/relationships.svg | 57 +++++ docs/img/databases/same-server.drawio | 84 +++++++ docs/img/databases/same-server.svg | 1 + docs/img/databases/single-file.drawio | 37 +++ docs/img/databases/single-file.svg | 1 + docs/img/db-to-code/mapper.drawio | 64 +++++ docs/img/db-to-code/mapper.svg | 1 + .../tutorial/many-to-many/many-to-many.drawio | 220 ++++++++++++++++++ .../tutorial/many-to-many/many-to-many.svg | 57 +++++ .../tutorial/offset-and-limit/limit.drawio | 133 +++++++++++ docs/img/tutorial/offset-and-limit/limit.svg | 57 +++++ .../tutorial/offset-and-limit/limit2.drawio | 133 +++++++++++ docs/img/tutorial/offset-and-limit/limit2.svg | 57 +++++ .../tutorial/offset-and-limit/limit3.drawio | 133 +++++++++++ docs/img/tutorial/offset-and-limit/limit3.svg | 57 +++++ .../attributes/back-populates.drawio | 41 ++++ .../attributes/back-populates.svg | 1 + .../attributes/back-populates2.drawio | 52 +++++ .../attributes/back-populates2.svg | 1 + .../select/relationships2.drawio | 142 +++++++++++ .../relationships/select/relationships2.svg | 57 +++++ 26 files changed, 1837 insertions(+) create mode 100644 docs/img/databases/external-server.drawio create mode 100644 docs/img/databases/external-server.svg create mode 100644 docs/img/databases/multiple-servers.drawio create mode 100644 docs/img/databases/multiple-servers.svg create mode 100644 docs/img/databases/relationships.drawio create mode 100644 docs/img/databases/relationships.svg create mode 100644 docs/img/databases/same-server.drawio create mode 100644 docs/img/databases/same-server.svg create mode 100644 docs/img/databases/single-file.drawio create mode 100644 docs/img/databases/single-file.svg create mode 100644 docs/img/db-to-code/mapper.drawio create mode 100644 docs/img/db-to-code/mapper.svg create mode 100644 docs/img/tutorial/many-to-many/many-to-many.drawio create mode 100644 docs/img/tutorial/many-to-many/many-to-many.svg create mode 100644 docs/img/tutorial/offset-and-limit/limit.drawio create mode 100644 docs/img/tutorial/offset-and-limit/limit.svg create mode 100644 docs/img/tutorial/offset-and-limit/limit2.drawio create mode 100644 docs/img/tutorial/offset-and-limit/limit2.svg create mode 100644 docs/img/tutorial/offset-and-limit/limit3.drawio create mode 100644 docs/img/tutorial/offset-and-limit/limit3.svg create mode 100644 docs/img/tutorial/relationships/attributes/back-populates.drawio create mode 100644 docs/img/tutorial/relationships/attributes/back-populates.svg create mode 100644 docs/img/tutorial/relationships/attributes/back-populates2.drawio create mode 100644 docs/img/tutorial/relationships/attributes/back-populates2.svg create mode 100644 docs/img/tutorial/relationships/select/relationships2.drawio create mode 100644 docs/img/tutorial/relationships/select/relationships2.svg diff --git a/docs/img/databases/external-server.drawio b/docs/img/databases/external-server.drawio new file mode 100644 index 0000000..4af8e30 --- /dev/null +++ b/docs/img/databases/external-server.drawio @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/databases/external-server.svg b/docs/img/databases/external-server.svg new file mode 100644 index 0000000..cf0f541 --- /dev/null +++ b/docs/img/databases/external-server.svg @@ -0,0 +1 @@ +
Machine / Computer
Machine / Computer
Database application
Database application
File
File
Data
Data
File
File
Data
Data
File
File
Data
Data
Machine / Computer
Machine / Computer
Your code
Your code
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/databases/multiple-servers.drawio b/docs/img/databases/multiple-servers.drawio new file mode 100644 index 0000000..efceed9 --- /dev/null +++ b/docs/img/databases/multiple-servers.drawio @@ -0,0 +1,205 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/databases/multiple-servers.svg b/docs/img/databases/multiple-servers.svg new file mode 100644 index 0000000..039260a --- /dev/null +++ b/docs/img/databases/multiple-servers.svg @@ -0,0 +1 @@ +
Machine / Computer
Machine / Computer
Database application
Database application
File
File
Data
Data
File
File
Data
Data
Machine / Computer
Machine / Computer
Your code
Your code
Machine / Computer
Machine / Computer
Database application
Database application
File
File
Data
Data
File
File
Data
Data
Machine / Computer
Machine / Computer
Database application
Database application
File
File
Data
Data
File
File
Data
Data
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/databases/relationships.drawio b/docs/img/databases/relationships.drawio new file mode 100644 index 0000000..9ae668c --- /dev/null +++ b/docs/img/databases/relationships.drawio @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/databases/relationships.svg b/docs/img/databases/relationships.svg new file mode 100644 index 0000000..fbecdac --- /dev/null +++ b/docs/img/databases/relationships.svg @@ -0,0 +1,57 @@ +
hero
hero
id
id
name
name
secret_name
secret_name
age
age
team_id
team_id
1
1
Deadpond
Deadpond
Dive Wilson
Dive Wilson
null
null
2
2
2
2
Spider-Boy
Spider-Boy
Pedro Parqueador
Pedro Parqueador
null
null
1
1
3
3
Rusty-Man
Rusty-Man
Tommy Sharp
Tommy Sharp
48
48
1
1
team
team
id
id
name
name
headquarters
headquarters
1
1
Preventers
Preventers
Sharp Tower
Sharp Tower
2
2
Z-Force
Z-Force

Sister Margaret’s Bar

Sister Margaret’s Bar
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/databases/same-server.drawio b/docs/img/databases/same-server.drawio new file mode 100644 index 0000000..596c649 --- /dev/null +++ b/docs/img/databases/same-server.drawio @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/databases/same-server.svg b/docs/img/databases/same-server.svg new file mode 100644 index 0000000..7f2a77b --- /dev/null +++ b/docs/img/databases/same-server.svg @@ -0,0 +1 @@ +
Machine / Computer
Machine / Computer
Database application
Database application
File
File
Data
Data
File
File
Data
Data
File
File
Data
Data
Your code
Your code
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/databases/single-file.drawio b/docs/img/databases/single-file.drawio new file mode 100644 index 0000000..52ce703 --- /dev/null +++ b/docs/img/databases/single-file.drawio @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/databases/single-file.svg b/docs/img/databases/single-file.svg new file mode 100644 index 0000000..f2526d9 --- /dev/null +++ b/docs/img/databases/single-file.svg @@ -0,0 +1 @@ +
Machine / Computer
Machine / Computer
Your code
Your code
File: heroes.db
File: heroes.db
Data
Data
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/db-to-code/mapper.drawio b/docs/img/db-to-code/mapper.drawio new file mode 100644 index 0000000..072b629 --- /dev/null +++ b/docs/img/db-to-code/mapper.drawio @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/db-to-code/mapper.svg b/docs/img/db-to-code/mapper.svg new file mode 100644 index 0000000..496c907 --- /dev/null +++ b/docs/img/db-to-code/mapper.svg @@ -0,0 +1 @@ +
Set of triangles
Set of triangles
Set of squares
Set of squares
Squares to Triangles Mapper
Squares to Triangles Mapp...
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/tutorial/many-to-many/many-to-many.drawio b/docs/img/tutorial/many-to-many/many-to-many.drawio new file mode 100644 index 0000000..d585e5e --- /dev/null +++ b/docs/img/tutorial/many-to-many/many-to-many.drawio @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/tutorial/many-to-many/many-to-many.svg b/docs/img/tutorial/many-to-many/many-to-many.svg new file mode 100644 index 0000000..d35c280 --- /dev/null +++ b/docs/img/tutorial/many-to-many/many-to-many.svg @@ -0,0 +1,57 @@ +
hero
hero
id
id
name
name
secret_name
secret_name
age
age
1
1
Deadpond
Deadpond
Dive Wilson
Dive Wilson
null
null
2
2
Spider-Boy
Spider-Boy
Pedro Parqueador
Pedro Parqueador
null
null
3
3
Rusty-Man
Rusty-Man
Tommy Sharp
Tommy Sharp
48
48
team
team
id
id
name
name
headquarters
headquarters
1
1
Preventers
Preventers
Sharp Tower
Sharp Tower
2
2
Z-Force
Z-Force

Sister Margaret’s Bar

Sister Margaret’s Bar
heroteamlink
heroteamlink
hero_id
hero_id
team_id
team_id
1
1
1
1
1
1
2
2
2
2
1
1
3
3
1
1
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/tutorial/offset-and-limit/limit.drawio b/docs/img/tutorial/offset-and-limit/limit.drawio new file mode 100644 index 0000000..569dfc5 --- /dev/null +++ b/docs/img/tutorial/offset-and-limit/limit.drawio @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/tutorial/offset-and-limit/limit.svg b/docs/img/tutorial/offset-and-limit/limit.svg new file mode 100644 index 0000000..3e31086 --- /dev/null +++ b/docs/img/tutorial/offset-and-limit/limit.svg @@ -0,0 +1,57 @@ +
hero
hero
id
id
name
name
secret_name
secret_name
age
age
1
1
Deadpond
Deadpond
Dive Wilson
Dive Wilson
null
null
2
2
Spider-Boy
Spider-Boy
Pedro Parqueador
Pedro Parqueador
null
null
3
3
Rusty-Man
Rusty-Man
Tommy Sharp
Tommy Sharp
48
48
4
4
Tarantula
Tarantula
Natalia Roman-on
Natalia Roman-on
32
32
5
5
Black Lion
Black Lion
Trevor Challa
Trevor Challa
35
35
6
6
Dr. Weird
Dr. Weird
Steve Weird
Steve Weird
36
36
7
7
Captain North America
Captain North America
Esteban Rogelios
Esteban Rogelios
93
93
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/tutorial/offset-and-limit/limit2.drawio b/docs/img/tutorial/offset-and-limit/limit2.drawio new file mode 100644 index 0000000..a329235 --- /dev/null +++ b/docs/img/tutorial/offset-and-limit/limit2.drawio @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/tutorial/offset-and-limit/limit2.svg b/docs/img/tutorial/offset-and-limit/limit2.svg new file mode 100644 index 0000000..a3a7e81 --- /dev/null +++ b/docs/img/tutorial/offset-and-limit/limit2.svg @@ -0,0 +1,57 @@ +
hero
hero
id
id
name
name
secret_name
secret_name
age
age
1
1
Deadpond
Deadpond
Dive Wilson
Dive Wilson
null
null
2
2
Spider-Boy
Spider-Boy
Pedro Parqueador
Pedro Parqueador
null
null
3
3
Rusty-Man
Rusty-Man
Tommy Sharp
Tommy Sharp
48
48
4
4
Tarantula
Tarantula
Natalia Roman-on
Natalia Roman-on
32
32
5
5
Black Lion
Black Lion
Trevor Challa
Trevor Challa
35
35
6
6
Dr. Weird
Dr. Weird
Steve Weird
Steve Weird
36
36
7
7
Captain North America
Captain North America
Esteban Rogelios
Esteban Rogelios
93
93
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/tutorial/offset-and-limit/limit3.drawio b/docs/img/tutorial/offset-and-limit/limit3.drawio new file mode 100644 index 0000000..2b2b20d --- /dev/null +++ b/docs/img/tutorial/offset-and-limit/limit3.drawio @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/tutorial/offset-and-limit/limit3.svg b/docs/img/tutorial/offset-and-limit/limit3.svg new file mode 100644 index 0000000..5858359 --- /dev/null +++ b/docs/img/tutorial/offset-and-limit/limit3.svg @@ -0,0 +1,57 @@ +
hero
hero
id
id
name
name
secret_name
secret_name
age
age
1
1
Deadpond
Deadpond
Dive Wilson
Dive Wilson
null
null
2
2
Spider-Boy
Spider-Boy
Pedro Parqueador
Pedro Parqueador
null
null
3
3
Rusty-Man
Rusty-Man
Tommy Sharp
Tommy Sharp
48
48
4
4
Tarantula
Tarantula
Natalia Roman-on
Natalia Roman-on
32
32
5
5
Black Lion
Black Lion
Trevor Challa
Trevor Challa
35
35
6
6
Dr. Weird
Dr. Weird
Steve Weird
Steve Weird
36
36
7
7
Captain North America
Captain North America
Esteban Rogelios
Esteban Rogelios
93
93
Viewer does not support full SVG 1.1
\ No newline at end of file diff --git a/docs/img/tutorial/relationships/attributes/back-populates.drawio b/docs/img/tutorial/relationships/attributes/back-populates.drawio new file mode 100644 index 0000000..5ef9c03 --- /dev/null +++ b/docs/img/tutorial/relationships/attributes/back-populates.drawio @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/tutorial/relationships/attributes/back-populates.svg b/docs/img/tutorial/relationships/attributes/back-populates.svg new file mode 100644 index 0000000..dabf36d --- /dev/null +++ b/docs/img/tutorial/relationships/attributes/back-populates.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/img/tutorial/relationships/attributes/back-populates2.drawio b/docs/img/tutorial/relationships/attributes/back-populates2.drawio new file mode 100644 index 0000000..7313c46 --- /dev/null +++ b/docs/img/tutorial/relationships/attributes/back-populates2.drawio @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/tutorial/relationships/attributes/back-populates2.svg b/docs/img/tutorial/relationships/attributes/back-populates2.svg new file mode 100644 index 0000000..83ed815 --- /dev/null +++ b/docs/img/tutorial/relationships/attributes/back-populates2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/img/tutorial/relationships/select/relationships2.drawio b/docs/img/tutorial/relationships/select/relationships2.drawio new file mode 100644 index 0000000..0086af5 --- /dev/null +++ b/docs/img/tutorial/relationships/select/relationships2.drawio @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/img/tutorial/relationships/select/relationships2.svg b/docs/img/tutorial/relationships/select/relationships2.svg new file mode 100644 index 0000000..e2f987e --- /dev/null +++ b/docs/img/tutorial/relationships/select/relationships2.svg @@ -0,0 +1,57 @@ +
hero
hero
id
id
name
name
secret_name
secret_name
age
age
team_id
team_id
1
1
Deadpond
Deadpond
Dive Wilson
Dive Wilson
null
null
2
2
2
2
Spider-Boy
Spider-Boy
Pedro Parqueador
Pedro Parqueador
null
null
null
null
3
3
Rusty-Man
Rusty-Man
Tommy Sharp
Tommy Sharp
48
48
1
1
team
team
id
id
name
name
headquarters
headquarters
1
1
Preventers
Preventers
Sharp Tower
Sharp Tower
2
2
Z-Force
Z-Force

Sister Margaret’s Bar

Sister Margaret’s Bar
Viewer does not support full SVG 1.1
\ No newline at end of file