Hi again (all or nothing it seems tonight :) )

so,

I am building a model (to be used with DAL stand alone) based on some
XML dump of a mySQL DB, and they have things like <tableName>_id
instead of just 'id'.... unless I am doing it wrong, how do I use the
value of a Field located in the same table?  in this case, i would
like to do something

db.define_table('compiler',
 
Field('compiler_id','integer',requires='compiler.id'),blabla....)

suggestions?

thanks,
Mart :)

Reply via email to