From cdc4e2d0e69188eb2164019273a8da1fa0340416 Mon Sep 17 00:00:00 2001 From: Francois Zaninotto Date: Thu, 3 Nov 2011 22:34:35 +0100 Subject: [PATCH] Clarify the ORM / ODM adapters usage --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 551b22e9..a46c8c53 100644 --- a/readme.md +++ b/readme.md @@ -183,7 +183,7 @@ You can check available Faker locales in the source code, [under the `Provider` ## Populating Entities Using an ORM or an ODM -Faker provides an adapter for the Object-Relational and Object-Document Mappers (currently, [Propel](http://www.propelorm.org), [Doctrine2](http://www.doctrine-project.org/projects/orm/2.0/docs/en), and [Mandango](https://github.com/mandango/mandango)) to ease the population of a database using the Entity classes managed by the ORM. +Faker provides adapters for Object-Relational and Object-Document Mappers (currently, [Propel](http://www.propelorm.org), [Doctrine2](http://www.doctrine-project.org/projects/orm/2.0/docs/en), and [Mandango](https://github.com/mandango/mandango) are supported). These adapters ease the population of databases through the Entity classes provided by an ORM library (or the population of document stores using Document classes provided by an ODM library). To populate entities, create a new populator class (using a generator instance as parameter), then list the class and number of all the entities that must be generated. To launch the actual data population, call the `execute()` method.