Yes, it is becomeing clearing now. thanks for the tip of using the
debug switch = 2. That helps alot as I experiment using DBIx.
Also, do you know if there is anything wrong with the news server for this
group.
I am not receiving any posting from the news group. I am having to go to the
archive to see any postings
-----Original Message-----
From: Gerald Richter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 6:13 AM
To: Boyd, David; EmbPerl News Group (E-mail)
Subject: Re: Help on using DBIx
> This is correct I am passing %fdat to Execute.
>
> From the documentation, I was expecting that Execute would only look at
> those items
> that have been identified using the defined parameters as stated in the
> document. That
> is Execute should only be looking at fields that have been identified with
> !Fields or $fields not
> just anything in %fdat.
That's the misunderstanding. Execute takes all column names of the
table/tables, because you can have columns in your where expression that are
not part of the result set. Every name that is not valid colum of the table
is ignored.
I hope it's more clear now
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
> -----Original Message-----
> From: Gerald Richter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 2:40 PM
> To: Boyd, David; EmbPerl News Group (E-mail)
> Cc: [EMAIL PROTECTED]
> Subject: Re: Help on using DBIx
>
>
> > If I understand you correctly. When you use DBIx with an excute it
makes
> > use of what is in %fdat even though
> > I did not do a $fdat{!Fields'} or $fdat('$fields'} statement. if that
is
> > the case then there seems to be a problem with using
> > DBIx. I can see why using the search does not have a problem is that I
am
> > telling it directly what to use.
> >
>
> No! You are the one who is passing %fdat to Execute !
>
> > *set = DBIx::Recordset->Execute({%fdat});
>
> Gerald
>
> -------------------------------------------------------------
> Gerald Richter ecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
>
> Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
> E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
> WWW: http://www.ecos.de Fax: +49 6133 925152
> -------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]