[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[TYPO3-dev] Suggestion: preserveRaw as addition to setReturnRawQueryResult



Hi,

Would this be useful, to be able to preserve the raw database result in the 
model
even after object mapping? So something like this:

$query->getQuerySettings()->setPreserveRaw(TRUE);
$result = $query->execute();
$first = $result->getFirst();

And then this

$first->getRaw();    // Possibly better naming, to avoid collision

would return the raw row.

What do you think?

Olle
_______________________________________________
TYPO3-dev mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev