Cannot use values
: "SQLite3 does not support table prefixes"
#138
Labels
bug
Something isn't working
values
: "SQLite3 does not support table prefixes"
#138
I am trying to use the
values/2
macro to filter results by matching compound keys (group_name, name
).With SQLite, this error is raised:
I added a debug statement to
ecto_sqlite3
to print the arguments ofquote_table/2
:[(ecto_sqlite3 0.13.0) lib/ecto/adapters/sqlite3/connection.ex:1893: Ecto.Adapters.SQLite3.Connection.quote_table/2] {prefix, name} #=> {[[group_name: :string, name: :string], 2], :values}
The
prefix
var contains the types keyword list fromvalues
invocation and2
indicating the number of rows. Looks like this doesn't belong there?The text was updated successfully, but these errors were encountered: