Skip to content

Commit

Permalink
Grammatical Error Fixes
Browse files Browse the repository at this point in the history
Fix minor English errors and added a link to an article on the benefits and understandings of Adjacency Lists.
  • Loading branch information
matt-neal committed Jan 26, 2018
1 parent feada9a commit 6cd62ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/tree-entities.md
Expand Up @@ -9,7 +9,8 @@ TypeORM supports the Adjacency list and Closure table patterns for storing tree

Adjacency list is a simple model with self-referencing.
The benefit of this approach is simplicity,
drawback is that you can't load big tree in once because of join limitations.
drawback is that you can't load big trees in all at once because of join limitations.
To learn more about the benefits and use of Adjacency Lists look at [this article by Matthew Schinckel](http://schinckel.net/2014/09/13/long-live-adjacency-lists/).
Example:

```typescript
Expand Down Expand Up @@ -40,7 +41,7 @@ export class Category {


Closure table stores relations between parent and child in a separate table in a special way.
Its efficient in both reads and writes.
It's efficient in both reads and writes.
To learn more about closure table take a look at [this awesome presentation by Bill Karwin](https://www.slideshare.net/billkarwin/models-for-hierarchical-data).
Example:

Expand Down

0 comments on commit 6cd62ac

Please sign in to comment.