[development] Extend database abstraction layer, to include table
chris at tinpixel.com
Thu May 11 22:19:58 UTC 2006
Karoly Negyesi wrote:
> On Thu, 11 May 2006 20:31:32 +0200, Adrian Rossouw <adrian at bryght.com>
>> Now that we have .install files for modules, I believe it is time we
>> extended our database abstraction layer.
>> I recommend we create the following extra functions :
>> 1. db_create_table($tablename, $columns); // columns is an associative
>> array with the 'name' => 'type'
> Ah yes. And between 'character variable' of postgres and 'varchar' of
> mysql, which one ?
Recent version of postgres accept 'varchar' as a synonym for 'character
varying' but does mysql accept the latter? If not, use 'varchar'.
More information about the development