Skip to content

After adding namespace to Model, modelManager->executeQuery throws errors #15288

Answered by Krzysiaczek
Krzysiaczek asked this question in Q&A
Discussion options

You must be logged in to vote

We've found the case trowing similar errors https://forum.phalcon.io/discussion/1427/model-phql-query-error-model-could-not-be-loaded

in my $phql I refer to Venues properly but maybe this something to consider

SELECT * FROM Venues ...

If this translates to creating or re-defining a new Venues class one of the errors would make sense. But then how to add namespace to phql?

SELECT * FROM App\Models\Venues ... ???

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Krzysiaczek
Comment options

Answer selected by Krzysiaczek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant