[sqlite] There is any reason to sqlite not expand "*" in function calls ?

2015-08-22 Thread R.Smith
On 2015-08-22 11:42 AM, sqlite-mail wrote: > Hello ! > > I'm testing the new json functions and when I tried this: > > select json_array(*) as json from one_table; > > I've got : > > [] > > [] > > .. > > Then I tried with some custom functions accepting variable number of > parameters and realize

[sqlite] There is any reason to sqlite not expand "*" in function calls ?

2015-08-22 Thread sqlite-mail
eric user defined functions. Anyone have any idea about this ? ? Cheers ! ? > Sat Aug 22 2015 13:01:32 CEST from "Richard Hipp" >Subject: Re: [sqlite] There is any reason to sqlite not expand "*" in >function calls ? > > On 8/22/15, sqlite-mail wrote: >

[sqlite] There is any reason to sqlite not expand "*" in function calls ?

2015-08-22 Thread sqlite-mail
Hello ! I'm testing the new json functions and when I tried this: select json_array(*) as json from one_table; I've got : [] [] .. Then I tried with some custom functions accepting variable number of parameters and realize that "*" is not expanded for function calls. There i

[sqlite] There is any reason to sqlite not expand "*" in function calls ?

2015-08-22 Thread Richard Hipp
On 8/22/15, sqlite-mail wrote: > > Then I tried with some custom functions accepting variable number of > parameters and realize that "*" is not expanded for function calls. > > There is any reason for it or it's a forgotten implementation ? > Well, one reason is that "somefunction(*)" does not e