Sequelize makes it necessary to specify Table. in this situation and the distance function from the package generates "Table.embedding_column" <=> ... while it should be "Table"."embedding_column" <=> ... to have it work properly.
I am missing something or is this a bug?
If it's a bug, I guess a split on . for the column arg and mapping sequelize.dialect.queryGenerator.quoteIdentifier to each element here could be a fix?
Hi!
I'm new to this library and I'm trying to run this query with sequelize:
Sequelize makes it necessary to specify
Table.
in this situation and the distance function from the package generates"Table.embedding_column" <=> ...
while it should be"Table"."embedding_column" <=> ...
to have it work properly.I am missing something or is this a bug?
If it's a bug, I guess a split on
.
for the column arg and mappingsequelize.dialect.queryGenerator.quoteIdentifier
to each element here could be a fix?