--- layout: doc title: Doctrine1 Module - Codeception - Documentation --- # Doctrine1 Module **For additional reference, please review the [source](https://github.com/Codeception/Codeception/tree/master/src/Codeception/Module/Doctrine1.php)** Performs DB operations with Doctrine ORM 1.x Uses active Doctrine connection. If none can be found will fail. This module cleans all cached data after each test. ### Status * Maintainer: **davert** * Stability: **stable** * Contact: codecept@davert.mail.ua ### Config * cleanup: true - all doctrine queries will be run in transaction, which will be rolled back at the end of test. ### Actions #### dontSeeInTable Checks table doesn't contain row with specified values Provide Doctrine model name and criteria that can be passed to addWhere DQL Example: {% highlight php %} dontSeeInTable('User', array('name' => 'Davert', 'email' => 'davert@mail.com')); {% endhighlight %} * param $model * param array $values #### getName __not documented__ #### grabFromTable Fetches single value from a database. Provide Doctrine model name, desired field, and criteria that can be passed to addWhere DQL Example: {% highlight php %} grabFromTable('User', 'email', array('name' => 'Davert')); {% endhighlight %} * param $model * param $column * param array $values * return mixed #### seeInTable Checks table contains row with specified values Provide Doctrine model name can be passed to addWhere DQL Example: {% highlight php %} seeInTable('User', array('name' => 'Davert', 'email' => 'davert@mail.com')); {% endhighlight %} * param $model * param array $values