AM
box.execute([[select * from SERVICES_SPACE WHERE TYPE IN (?)]], {0, 1})т.к. получается, что параметров больше,но это и логично
Size: a a a
AM
box.execute([[select * from SERVICES_SPACE WHERE TYPE IN (?)]], {0, 1})EL
([[select * from SERVICES_SPACE WHERE TYPE IN (...)]], {0, 1})EL
EL
?AM
([[select * from SERVICES_SPACE WHERE TYPE IN (...)]], {0, 1})AM
?AM
AK
box.execute([[select * from SERVICES_SPACE WHERE TYPE IN (?)]], {0})box.execute([[select * from SERVICES_SPACE WHERE TYPE IN (?)]], {{0, 1}})
null
- Illegal parameters, SQL bind named parameter should be a table with one key - {name
= value}AM
AK
AM
AK
{{0}, {1}} ?AM
unix/:/var/run/tarantool/tarantool.sock> box.execute([[select * from SERVICES_SPACE WHERE TYPE in(?)]], {{0}, {1}})
---
- null
- Parameter '1' was not found in the statementAM
R
unix/:/var/run/tarantool/tarantool.sock> box.execute([[select * from SERVICES_SPACE WHERE TYPE in(?)]], {{0}, {1}})
---
- null
- Parameter '1' was not found in the statementAM
AM
box.execute([[select * from SERVICES_SPACE WHERE TYPE in(?,?)]], {0, 2})EL
IN(...)