On 4/19/17, Timothy Stack wrote:
>
> ​Richard, if I made the necessary changes to the parser, docs, and updated
> the carray extension as an example, would you accept the patch?
>
Probably not. But an actual demonstration showing that your proposed
enhancement is useful and does not impact perfo
On Sun, Apr 16, 2017 at 3:40 PM, Richard Hipp wrote:
> > On 16 Apr 2017, at 10:57pm, Timothy Stack
> > wrote:
> >
> >> UPDATE foo SET col0 = 'bar' WHERE hidden_field = 'baz'
> >>
> >> Having the real syntax, like the following, would be nice though:
> >>
> >> UPDATE foo('baz') SET col0 = 'bar'
ite-users-boun...@mailinglists.sqlite.org]
> Im Auftrag von Timothy Stack
> Gesendet: Sonntag, 16. April 2017 23:57
> An: SQLite mailing list
> Betreff: [sqlite] performing an UPDATE on a table-valued function
>
> The current table-valued function feature seems to only work for SELECT
&g
y executing a CREATE VIRTUAL TABLE statement.
-Ursprüngliche Nachricht-
Von: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] Im
Auftrag von Timothy Stack
Gesendet: Sonntag, 16. April 2017 23:57
An: SQLite mailing list
Betreff: [sqlite] performing an UPDATE on a table-
On Sun, Apr 16, 2017 at 3:40 PM, Richard Hipp wrote:
> On 4/16/17, Simon Slavin wrote:
> >
> > On 16 Apr 2017, at 10:57pm, Timothy Stack
> > wrote:
> >
> >> UPDATE foo SET col0 = 'bar' WHERE hidden_field = 'baz'
> >>
> >> Having the real syntax, like the following, would be nice though:
> >>
>
On 4/16/17, Simon Slavin wrote:
>
> On 16 Apr 2017, at 10:57pm, Timothy Stack
> wrote:
>
>> UPDATE foo SET col0 = 'bar' WHERE hidden_field = 'baz'
>>
>> Having the real syntax, like the following, would be nice though:
>>
>> UPDATE foo('baz') SET col0 = 'bar'
>
> How would it know that 'baz' is
On 16 Apr 2017, at 10:57pm, Timothy Stack wrote:
> UPDATE foo SET col0 = 'bar' WHERE hidden_field = 'baz'
>
> Having the real syntax, like the following, would be nice though:
>
> UPDATE foo('baz') SET col0 = 'bar'
How would it know that 'baz' is a value for the column "hidden_field" rather
The current table-valued function feature seems to only work for
SELECT statements. Was any thought given to whether updates
would be supported for table-valued functions? It seems like it's
technically possible and could be made to work right now with
this awkward syntax:
UPDATE foo SET col0
8 matches
Mail list logo