Unknown column in order clause |
Hello everyone!
I've a problem returning the first row of the result set with the first() method (i suppose). PHP Code: Unknown column 'games.id' in 'order clause' This is the Migration This is the GamesModel This is the Games Controller If a change the id filed in "id" everything works fine. Does It is a convention to follow? If yes, how can i bypass this behaviour? Thank you all. PS Version 4 is awesome! Great work. |
Messages In This Thread |
Unknown column in order clause - by antoniocapuozzo - 07-01-2019, 12:21 AM
RE: Unknown column in order clause - by includebeer - 07-01-2019, 06:08 AM
RE: Unknown column in order clause - by antoniocapuozzo - 07-01-2019, 07:04 AM
|