Access to an element of array NEW in TCL

Поиск
Список
Период
Сортировка
От Josué Maldonado
Тема Access to an element of array NEW in TCL
Дата
Msg-id bj53ta$pae$1@news.hub.org
обсуждение исходный текст
Ответы Re: Access to an element of array NEW in TCL
Список pgsql-general
Hi list,

Is there a way to access an especific element of the array NEW in an TCL
trigger, I have a loop that goes for each field (thanks Ian & Darren)
like this:

  foreach id [array names NEW] {

then I can refer to an element with this (inside the loop):
   $NEW($id)

I do need to make a reference to an especific column name (duser) in
that array to get its value, I already tried $NEW(duser),
$NEW(\'duser\') but didn't work. I'll appreciate any help from you

Thanks


Josue Maldonado


В списке pgsql-general по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Using oids
Следующее
От: Bo Lorentsen
Дата:
Сообщение: Re: Using oids