[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Filling perl hashes with [query] and searching the hash for product display restriction
> Perhaps. The only problem with that is it will depend on the SQL --
> some DBI drivers don't return field names unless there is at least one
This is a surprise to me. I tought it was a requirement to return field
names
:-(
> row returned. I will not get into parsing field names from the select,
No, of course not.
> so it is probably best to manage that part yourself -- you presumably
> know what fields you queried, and can save them to a pointer hash.
Or I can use positional numbers. I don't know which solution I hate the
most :-)
> I will keep it in mind and not make any promises.
One solution could be to implement it of the DBI driver supports it, and
if not: Bad luck. But that would of course have its own set of problems.
--
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 14.00-18.00 Email: kar@webline.dk
2000 Frederiksberg Lørdag 11.00-17.00 Web: www.suse.dk
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users