Skip to content

Commit

Permalink
docs: add more info about supporting MSSQL server
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Sep 2, 2017
1 parent 62e357c commit af1a01f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
7 changes: 6 additions & 1 deletion doc/mapper.texy
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
11 changes: 6 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit af1a01f

Please sign in to comment.