I'm using Ecto.Adapters.SQL.query
query = " select id from $1 where id = $2 "
Ecto.Adapters.SQL.query!(Repo, query, [table, id])
But the adapter not replace my table as parameter
[debug] QUERY ERROR db=0.5ms
select id from $1 where sysid = $2 ["activities", "469601326"]
[info] Application dgtidx exited: Docomo.Application.start(:normal, []) returned an error: shutdown: failed to start child: Docomo.Consumer
** (EXIT) an exception was raised:
** (Mariaex.Error) (1146): Table 'test.$1' doesn't exist