[development] Extend database abstraction layer, to include table creation.

Larry Garfield larry at garfieldtech.com
Fri May 12 14:26:56 UTC 2006


On Friday 12 May 2006 04:42, Bèr Kessels wrote:

> > db_fetch_all()
> > This "whiling" over the db_fetch_object is driving me nuts :)
>
> Money mouth and that stuff:
> from helpers.module (still needs testing here before I commit this)

> function db_fetch_all_as_objects($query) {

> function db_fetch_all_as_arrays($query) {

Related to this:
http://drupal.org/node/53488

I'm planning on adding those db utility functions.  As per the question I 
asked in the thread, should I be looking to add those to helper.module rather 
than core somewhere?  I'm just wary of people not even knowing they exist.

(Please reply in the issue, too, so that it's easier to track.  Thanks.)

-- 
Larry Garfield			AIM: LOLG42
larry at garfieldtech.com		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson


More information about the development mailing list