Browse files

[Doc] Fixed

  • Loading branch information...
1 parent c55b014 commit 2c78ce5b0a4dd405127a9a52c970c6a1a6f269ed @vdim committed Apr 5, 2012
Showing with 14 additions and 11 deletions.
  1. +14 −11 doc/
@@ -1,4 +1,5 @@
# YZ
+## Simple collection
For demostration features of the YZ we will use some examples. First example is
collection with string values. Let's define this collection something like this
(we use [Clojure] ( language):
@@ -245,20 +246,22 @@ Notes:
* result of calling another function
-### Joining
+## More complex model
So far we test simple flat collection. Let's consider more complex model
(we choose classic example about university):
<img src="" alt="UML class diagram for university model"/>
-We implement it (see source code [here](
+We implement it (see source code [here](
and create some [example] (
which is represented on figure below in UML object diagram notation:
<img src=""
alt="Example of university model in UML object diagram notation"/>
In order to use this university model and next queries you can follow
-[this] ( instruction.
+[this] ( instruction.
+### Joining
So let's start. In order to select linked objects you should use brackets. For example, if you want to
get all courses and its faculty you should query:
@@ -274,12 +277,12 @@ This query returns the following result:
Note that so far we work with flat collection and get result as flat rows. But now
you can get a hierarchical result:
- [[#<Course Algebra>
- [[#<Faculty Marry> []]]
- #<Course Geometry>
- [[#<Faculty David> []]]
- #<Course Russian>
- [[#<Faculty Brian> []]]
- #<Course German>
- [[#<Faculty Brian> []]]]],
+ [[#<Course Algebra>
+ [[#<Faculty Marry> []]]
+ #<Course Geometry>
+ [[#<Faculty David> []]]
+ #<Course Russian>
+ [[#<Faculty Brian> []]]
+ #<Course German>
+ [[#<Faculty Brian> []]]]],

0 comments on commit 2c78ce5

Please sign in to comment.