find
adds the id
column automatically with no easy way to remove it
#251
Labels
find
adds the id
column automatically with no easy way to remove it
#251
Steps to reproduce
(First please check that this issue is not already solved as described
here)
find
will always return records with anid
, and while this is often useful, it makes it difficult to customize the query with something likedistinct
orgroup by
.An example, including a workaround, are available at https://gist.github.com/jordanbtucker/30d403170e3104b841f7195d25ba6101.
Expected behavior
There should be a way to remove the
id
column from a query.Actual behavior
The
id
column is included in queries, which is problematic when you want to alter the query with something likedistinct
as explained in Customizing the query.System configuration
Module versions (especially the part that's not working):
NodeJS version:
v12.18.1
The text was updated successfully, but these errors were encountered: