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

Find One

Find One.

Collections hold your records. Norbix generates a full CRUD + query API over each collection from its schema, with record-level ownership and triggers. Finds the one.

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.findOne({
  collectionName: 'orders',
  id: 'rec_4kX9mQvR2tYw7ZbC1dFgHj',
  databaseIntegrationId: 'int_4kX9mQvR2tYw7ZbC1dFgHj',
});
using Norbix.Sdk;
using Norbix.Sdk.Types.Api;

using var client = new NorbixClient();

var result = await client.Database.FindOneAsync(new FindOneRequest
{
    CollectionName = "orders",
    Id = "rec_4kX9mQvR2tYw7ZbC1dFgHj",
    DatabaseIntegrationId = "int_4kX9mQvR2tYw7ZbC1dFgHj",
});
from norbix_python import NorbixApi

norbix = NorbixApi()

result = norbix.database.find_one(
    collectionName="orders",
    id="rec_4kX9mQvR2tYw7ZbC1dFgHj",
    databaseIntegrationId="int_4kX9mQvR2tYw7ZbC1dFgHj",
)

In the dashboard

Manage this visually in Norbix Cloud β€” see Database β†’ Collections.

API reference

Full request and response for this endpoint: Find One.

Last updated