Is it possible to set up my Doctrine model with a subset of columns in a 
table?

As background, I'm building an application that only ever searched and 
modifies data.  No new records are ever created.


The data is created by a range of external systems that access all columns 
in the database,the new applicatoin if only interested in a subset of these 
columns and there are lots of (existing) tables.

So, for example I may ah the following table

my_table  : {id, cola, colb, colc, cold }


class MyTable
{
protected id; // Annotations

protected Cola;

}

The when we do a search we only need ColA and similarly the form, in this 
case, would only show Cola for browse and update.

Can one do this without breaking anything?

Barry

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to