[rt-users] Does DBIx::SearchBuilder support nested objects?
Todd Chapman
todd at chaka.net
Tue Aug 1 17:29:09 EDT 2006
On Tue, Aug 01, 2006 at 02:20:42PM -0700, Joshua Colson wrote:
> I apologize if this is the wrong list for SearchBuilder questions. If so
> and you know where this should go to, please point me in the right
> direction.
>
> Suppose I have a DB schema like the following:
>
> #######################################################
>
> Table: [car]
> [id] [year] [make] [model] [trim] [wheel_type]
> [1] [2006] [Zastava] [Yugo] [55] [1]
>
>
> Table: [wheels]
> [id] [year] [make] [size]
> [1] [2006] [cheap] [14"]
>
> #######################################################
>
> Where [wheel_type] in the [car] table is just a foreign key to the [id]
> column of the [wheels] table. Does SB automatically generate the nested
> wheel_type object as a property of the car object, or does that
> generation happen manually?
Manually.
-Todd
>
> Thanks.
>
> --
> Joshua Colson <jcolson at voidgate.org>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
> We're hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.html
More information about the rt-users
mailing list