Test Database Aggregate
Test-run an aggregation pipeline with caller-supplied tokens.
import { Norbix } from '@norbix.ai/ts';
const norbix = new Norbix();
const result = await norbix.hub.database.testDatabaseAggregate({
collectionName: 'orders',
pipeline: '[{"$match":{"status":"active"}}]',
databaseIntegrationId: 'int_4kX9mQvR2tYw7ZbC1dFgHj',
});using Norbix.Sdk;
using Norbix.Sdk.Types.Hub;
using var client = new NorbixClient();
var result = await client.Database.TestDatabaseAggregateAsync(new TestDatabaseAggregateRequest
{
CollectionName = "orders",
Pipeline = "[{\"$match\":{\"status\":\"active\"}}]",
DatabaseIntegrationId = "int_4kX9mQvR2tYw7ZbC1dFgHj",
});from norbix_python import NorbixHub
norbix = NorbixHub()
result = norbix.database.test_database_aggregate(
collectionName="orders",
pipeline="[{\"$match\":{\"status\":\"active\"}}]",
databaseIntegrationId="int_4kX9mQvR2tYw7ZbC1dFgHj",
)In the dashboard
API reference
Last updated