For the complete documentation index, see llms.txt. This page is also available as Markdown.

Distinct

Distinct.

Collections hold your records. Norbix generates a full CRUD + query API over each collection from its schema, with record-level ownership and triggers. Returns distinct values for it.

This method is on the runtime API surface (norbix.api.database) — call it from your app.

These examples assume the SDK is installed and your credentials are set as environment variables — each client reads them automatically, so the constructors below take no arguments. See Install a Norbix SDK.

import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();

const result = await norbix.api.database.distinct({
  collectionName: 'orders',
  databaseIntegrationId: 'int_4kX9mQvR2tYw7ZbC1dFgHj',
  field: 'status',
  filter: '{"status":"active"}',
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Api;

using var client = new NorbixClient();

var result = await client.Database.DistinctAsync(new DistinctRequest
{
    CollectionName = "orders",
    DatabaseIntegrationId = "int_4kX9mQvR2tYw7ZbC1dFgHj",
    Field = "status",
    Filter = "{\"status\":\"active\"}",
});

In the dashboard

Manage this visually in Norbix Cloud — see Database → Collections.

API reference

Full request and response for this endpoint: Distinct.

Last updated