[tarantool-patches] Re: [PATCH v9 1/7] sql: add column name to SQL change counter
Konstantin Osipov
kostja at tarantool.org
Fri Mar 22 18:42:00 MSK 2019
* imeevma at tarantool.org <imeevma at tarantool.org> [19/03/22 13:57]:
The patch is OK to push.
> +cn:execute("INSERT INTO t1 VALUES (1), (2), (3);")
> +---
> +- metadata:
> + - name: rows inserted
> + type: INTEGER
> + rows:
> + - [3]
> +...
> +cn:execute("REPLACE INTO t1 VALUES (2), (3), (4), (5);")
> +---
> +- metadata:
> + - name: rows inserted
Why rows inserted, not rows replaced?
> + type: INTEGER
> + rows:
> + - [4]
> +...
> +cn:execute("UPDATE t1 SET id = id + 100 WHERE id > 10;")
> +---
> +- metadata:
> + - name: rows updated
> + type: INTEGER
> + rows:
> + - [0]
> +...
--
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
More information about the Tarantool-patches
mailing list