Operation to retrieve an item by namespace and ID.

interface GetOperation {
    key: string;
    namespace: string[];
}

Properties

Properties

key: string

Unique identifier within the namespace. Together with namespace forms the complete path to the item.

Example

key: "user123"  // For a user profile
key: "doc456" // For a document
namespace: string[]

Hierarchical path for the item.

Example

// Get a user profile
namespace: ["users", "profiles"]