Answer the question
In order to leave comments, you need to log in
How to force propel to escape the name of the table to which the request goes, so that the name does not match the reserved word?
Hi all. Please tell me the solution to this problem, maybe someone faced it, How to make propel escape the name of the table to which the request is made, so that the name does not match the reserved word?
There is a table `Option`
When I try to write
$models = OptionQuery::create()->orderByName()->paginate($page, self::PAGE_SIZE_LIMIT);
Answer the question
In order to leave comments, you need to log in
https://stackoverflow.com/a/36107595
But I would still change the name of the table in order to avoid possible jambs in the future, if I accidentally forget about it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question