Welcome Guest, Not a member yet? Register   Sign In
Unknown column in order clause
#1

(This post was last modified: 07-01-2019, 02:42 AM by antoniocapuozzo.)

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.
Reply


Messages In This Thread
Unknown column in order clause - by antoniocapuozzo - 07-01-2019, 12:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB