diff --git a/doc/mapper.texy b/doc/mapper.texy index 15057be2..0a378a31 100644 --- a/doc/mapper.texy +++ b/doc/mapper.texy @@ -14,7 +14,12 @@ Collection results form Array mapper are returned as `ArrayCollection` instance. DbalMapper ========== -Dbal mapper uses "Nextras\Dbal":[1] layer. Dbal and Orm supports MySQL and PostgreSQL database (by `php_mysqli` and `php_pgsql` php extensions). Dbal mapper is aliased as `Nextras\Orm\Mapper\Mapper` class. Collection results from Dbal mapper are returned as `DbalCollection` (if you use Dbal's QueryBuilder) or `ArrayMapper` (if you use SQL query). +Dbal mapper uses "Nextras Dbal":[1] library. Both Nextras Dbal and Orm support these database engines: +- MySQL, +- PostgreSQL, +- SQL Server (currently not supported autoupdate mapping). + +Dbal mapper is aliased as `Nextras\Orm\Mapper\Mapper` class. Collection results from Dbal mapper are returned as a `DbalCollection` (if you use Dbal's QueryBuilder) or as an `ArrayCollection` (if you use raw SQL query). To set mapper's database **table name** set `$tableName` property or override `getTableName()` method. diff --git a/readme.md b/readme.md index ad79c0bc..e9cd0b2f 100644 --- a/readme.md +++ b/readme.md @@ -2,17 +2,18 @@ Nextras Orm =========== [![Build Status](https://travis-ci.org/nextras/orm.svg?branch=master)](https://travis-ci.org/nextras/orm) +[![Build Status AppVeyor](https://ci.appveyor.com/api/projects/status/vbstel14t12ea5kb/branch/master?svg=true)](https://ci.appveyor.com/project/hrach/orm/branch/master) [![Downloads this Month](https://img.shields.io/packagist/dm/nextras/orm.svg?style=flat)](https://packagist.org/packages/nextras/orm) [![Stable Version](https://poser.pugx.org/nextras/orm/v/stable)](https://packagist.org/packages/nextras/orm) [![Code coverage](https://img.shields.io/coveralls/nextras/orm.svg?style=flat)](https://coveralls.io/r/nextras/orm) -### Installation +Lightweight and high-performance ORM with clean object design. -Use composer: +Supported platforms: +- MySQL, +- PostgreSQL, +- MS SQL Server. -```bash -$ composer require nextras/orm -``` ### Docs & sources