[Modeling-users] Fetching raw rows
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-07-14 19:38:34
|
Hi all, I've submitted patch #77168: https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D771168&group_= id=3D58935&atid=3D489337 which enables the ability to fetch raw rows (i.e. you get dictionaries) instead of fully-initialized objects. I remember we already discussed this feature some time ago with some of you already. Usage ----- either use FetchSpecification.setFetchesRawRows(1) or directly: EditingContext.fetch(..., rawRows=3D1, ...) Quick benchs ------------ On 5000 db-raws, I get =20=20=20=20 - normal fetch (full objects): 5.6s. - raw rows (dictionaries):=20 Tested on postgresql and mysql. -- S=E9bastien. |