Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: 'add_system_field' type functionalty?

Quote Reply
Re: 'add_system_field' type functionalty? In reply to
Hi,

That would probably be the best way to do it. You may want to save some grief, and not allow quotes. If you do, it implies you can do:

field_one=1,field_two="this won't work, really",field_3=5

To do something like that is a lot harder. If you skip the quotes, then what you have will work fine.

Another idea is if you are using ->add() method and want to just preserve defaults, you can just do:

foreach my $system_column (qw/list of system columns/) {
$IN->delete($system_column);
}

and then add() will take the defaults. Same goes for modify.

Cheers,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread 'add_system_field' type functionalty? pugdog 2974 Jul 6, 2001, 2:36 AM
Thread Re: 'add_system_field' type functionalty?
Paul 2881 Jul 6, 2001, 4:12 AM
Post Re: 'add_system_field' type functionalty?
Alex 2865 Jul 6, 2001, 9:17 AM
Thread Re: 'add_system_field' type functionalty?
Alex 2892 Jul 6, 2001, 9:27 AM
Post Re: 'add_system_field' type functionalty?
pugdog 2837 Jul 6, 2001, 11:57 AM