Hi Mohammad, do you want to use type-checking for your model depending on the column type or do you want to get some information about the corresponding table from your model?
For the first case, Propel should already do that. For the latter case, you can get all kinds of information about the columns (type, primary / foreign key etc.) from the table map. To get the table map for a certain model class use the peer method Base<YourModelClass>Peer::getTableMap() and then have a look at the TableMap class to see what can be done with it. Best regards, Georg Mohammad Ali Safari schrieb: > Hi > I am using propel-build-schema to create a schema from my existing > database and then create my model. However, it seems the model does not > give me much information about column in my tables such as their types. > > > Is there any way to force propel to include such information (specially > the column types) in the generated model classes? > > cheers, > --mohammad > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---