This is a spin off from another question I posted a few days ago that was successfully answered but it really didn\'t get into the underlying issue I was having but wasn\'t able to express fully in my
For example (eagerload/joinedload do the same thing): session = Session() parents = session.query(Parent).options(joinedload(Parent.children)).all()
My members will have the ability to customise their profile page with X amount of widgets, each widget displays different data such as a list of music, list of people they are following etc.
I have come stuck in optimizing one of my queries...here is my scenario... I have a domain simular to Twitter where a user can follow other users. So here is a sample of my User model:
Here is an example of my entities that I am trying to return with eager loaded collections. Mixes -> Tracks (collection)
I\'ve got this really basic table structure: dbo.tblCategory dbo.tblQuestion (many to one relationship to tblCategory)
I have a requirement to load a complex object called Node...well its not that complex...it looks like follows:-
Two models (Rails 2.3.8): User; username & disabled properties; User has_one :profile Profile; full_name & hidden properties
Assuming the following fictional layout Dealership has many Cars has a Manufacturer I want to write a query that says get me a Dealership with a Name of X and also get the Cars collection but use
Consider the following Class structure... public class ListViewControl { public int SystemId {get; set;}