I played with the formatting, too. It is pretty easy to adjust and
I'm not very religious about it. In my little example, it isn't a big
deal, but if you have 50 binds or so (like in a real database table),
it could be useful information. That's kind of where I was heading
(even though it is more verbose).
I guess I'll check it in tonight and if we don't like it, we can rollback. :-)
/dev/mrg
PS. Andrus, I just pass the List of DbAttributes in along with the
parameters now. The DbAttributes were already there for the most
part, so it shouldn't slow things down significantly. I suppose you
can turn query logging off if the logging is too much (but I believe
that would be true even with the current logging).
On Nov 29, 2007 11:48 AM, Kevin Menard <kmenar..ervprise.com> wrote:
> On 11/29/07 11:30 AM, "Andrus Adamchik" <andru..bjectstyle.org> wrote:
>
> >> 1->description:'Apple PowerBook 12" 1.5 GHz G4...',
> >> 2->name:'PowerBook12S', 3->price:1699, 4->primaryKey:901
> >
> > Been playing with formatting a bit. Wonder if the form below makes it
> > more readable? I guess that depends on personal preferences...
> >
> > description(1):'Apple PowerBook 12" 1.5 GHz G4...',
> > name(2):'PowerBook12S', price(3)=1699, primaryKey(4)=901
>
> I think I like Michael's formatting better. I'd almost expect the
> parentheses to contain the mapped datatype, if anything.
>
>
> --
> Kevin Menard
> Servprise International, Inc.
> Remote reboot & power control for network equipment
> www.servprise.com +1 508.892.3823 x308
>
>
This archive was generated by hypermail 2.0.0 : Thu Nov 29 2007 - 12:12:44 EST