← Back to team overview

anewt-developers team mailing list archive

Re: Thoughts (and code!) on AnewtAutoRecord and JOIN support (was: anewt.uws c1707: [autorecord] Support extra select columns and manual joins)

 

Wouter Bolsterlee wrote:
Hey all (and especially Sander),

I think my recent feature addition to AnewtAutoRecord covers most of the
JOIN use cases I can think of without adding too much black magic to
AnewtAutoRecord that renders the whole thing into a black box full of
spaghetti code paths. The relevant revision is this one:

 ... revision and examples ...

Yeah, you're probably right. I can't think of a case right now where a join descriptor really adds much to your proposal. My main point is a common join I want to do in pretty much all queries on that table, but you could probably make a method which returns the default join code.

-- Sander




Follow ups

References