Re: Update sections

2013-07-10 Thread Arran Cudbard-Bell
On 10 Jul 2013, at 23:59, Arran Cudbard-Bell wrote: > > On 10 Jul 2013, at 16:29, Phil Mayers wrote: > >> On 10/07/13 15:43, Arran Cudbard-Bell wrote: >> >>> Update sections may now also return fail. >> >> Can you clarify - AIUI, sql xlat can now a

Re: Update sections

2013-07-10 Thread Arran Cudbard-Bell
On 10 Jul 2013, at 16:29, Phil Mayers wrote: > On 10/07/13 15:43, Arran Cudbard-Bell wrote: > >> Update sections may now also return fail. > > Can you clarify - AIUI, sql xlat can now also distinguish between empty and > fail, so if I do this: > > update { >

Re: Update sections

2013-07-10 Thread Phil Mayers
On 10/07/13 15:43, Arran Cudbard-Bell wrote: Update sections may now also return fail. Can you clarify - AIUI, sql xlat can now also distinguish between empty and fail, so if I do this: update { request:Tmp-String-0 := "%{sql:...}" } ...and the SQL server is down, the xlat wil

Update sections

2013-07-10 Thread Arran Cudbard-Bell
Update sections in 3.0 are considerably more powerful than 2.x.x In addition to being able to override lists on an attribute by attribute basis, e.g: update { request:foo = 'bar' } You can also perform full list copies: update { request: += &reply: } Filtered li