On 8/9/16, Richard Hipp <[email protected]> wrote: > Or, you could make remember() a two argument function: > > UPDATE mytable SET counter=remember(counter, $ptr)+1 WHERE counterid=$id >
A sample implementation for this function can now been seen at https://www.sqlite.org/src/artifact/8440f8d0b452c5cd -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

