Overview
Use indexes via SDK to speed up your queries in Fynd Boltic Database. To learn more about indexes refer to Indexes guide.
import { createClient } from "@boltic/sdk";
const client = createClient("your-api-key");
// All index operations
const operations = client.indexes;
Basic Usage
import { createClient } from "@boltic/sdk";
const client = createClient("your-api-key");
// Create
await client.indexes.addIndex("users", { field_names: ["email"], method: "btree" });
// List
await client.indexes.listIndexes("users", { page: { page_no: 1, page_size: 50 } });
// Delete
await client.indexes.deleteIndex("users", "users_btree_email");
Create Index
Create database indexes to optimize query performance with support for multiple index types
List Indexes
Query and filter database indexes with advanced pagination, sorting, and filtering capabilities
Delete Index
Remove database indexes to free up storage space and optimize database performance