[TYPO3-dev] Reserved keywords on fields and table names in the database
Bernhard Kraft
kraftb at kraftb.at
Sun May 14 22:50:26 CEST 2006
Martin Kutschker wrote:
> IMHO the code that creates the statement should do the quoting (also for
> tables). That's why I suggested
> $GLOBALS['TYPO3_DB']->quoteIdentifier($ident, $table). If you write your
> own statements use it. All other code in the TYPO3 core (BE and FE API)
> should use this function internally.
>
And what about statements like:
$GLOBALS['TYPO3_DB']->exec_SELECTquery('fielda-fieldb AS whatever', ...);
which you do require if you want to sort using "whatever" i.e.
Or are such statements intended to be "not supported" by DBAL ?
greets,
Bernhard
More information about the TYPO3-dev
mailing list