You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Recently I had to build select distinct using bookshelf/knex which was pretty frustrating. and realized that metasql is lacking this feature
Describe the solution you'd like
was thinking of something like db.select(table, ["DISTINCT(column)"])
current implementation treats "DISTINCT(COLUMN)" as a column name
or db.select(table, ["column1", {column2: 'distinct'}]).groupBy(column2)
opened for other suggestions
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Recently I had to build select distinct using bookshelf/knex which was pretty frustrating. and realized that metasql is lacking this feature
Describe the solution you'd like
was thinking of something like
db.select(table, ["DISTINCT(column)"])
current implementation treats "DISTINCT(COLUMN)" as a column name
or
db.select(table, ["column1", {column2: 'distinct'}]).groupBy(column2)
opened for other suggestions
The text was updated successfully, but these errors were encountered: