Running queries with DISTINCT

Hi team!

Is there a way to run queries with something like .distinct(["column_name"])?

We know about summarize (https://xata.io/docs/sdk/summarize#what-can-summarize-do), but it has a limit on 1000 results (and defaults to 20).

We are aware of the alternative using code and filtering out repeated results... Or running direct SQL queries to the API.

What would be the recommended way?

Thanks!
Perform calculations and get insights on a set of records using the Xata SDK
Summarize
Was this page helpful?