Welcome Guest, Not a member yet? Register   Sign In
Model objects linked directly to db tables?
#5

[eluser]coldscooter[/eluser]
I'm trying to use DataMapper, and have followed the setup instructions, but I'm getting "Table 'my_table.DataMappers' doesn't exist"


My model looks like this:

class user extends DataMapper {
var $table = 'user';

function __contruct () {
parent::__contruct();
}
}


Could it be that DataMapper doesn't work with the most recent CI?


Messages In This Thread
Model objects linked directly to db tables? - by El Forum - 05-10-2012, 10:52 AM
Model objects linked directly to db tables? - by El Forum - 05-10-2012, 12:21 PM
Model objects linked directly to db tables? - by El Forum - 05-10-2012, 12:41 PM
Model objects linked directly to db tables? - by El Forum - 05-10-2012, 12:55 PM
Model objects linked directly to db tables? - by El Forum - 05-10-2012, 04:45 PM
Model objects linked directly to db tables? - by El Forum - 05-10-2012, 09:39 PM
Model objects linked directly to db tables? - by El Forum - 05-11-2012, 04:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB