Tharos / LeanQuery

www.leanmapper.com
MIT License
6 stars 5 forks source link

DomainQuery::getEntities() ma ine API ako Repository::createEntities() #6

Open achtan opened 10 years ago

achtan commented 10 years ago

Repository::createEntities() vracia pole kde kluc ID riadku DomainQuery::getEntities() vracia pole kde ale kluc nieje ID riadku

viem ze si to mozem upravit v \LeanMapper\IEntityFactory::createCollection ale bolo by super ak by to by default malo rovnake API :)

Tharos commented 10 years ago

Díky za bezva postřeh. Při hydratování resultů se už myslím stejně data podle hodnot PK indexují, a tak oindexovat podle nich i výsledek getEntities už by měla být maličkost.

Naimplementuji. :+1: