Sqlite huge bug?

I try to use create_react_native_app to day to use with expo sqlite api. The function which replaces “?” with argument doesn’t work, I have to type everything out.
The error is :
[Error: near “?”: syntax error (code 1): , while compiling: select person, sum(amount) from ? group by person;]

It seems like it only works with number but not string