get_schema_for_collection
Retrieve the schema of a specified Couchbase collection by running an INFER query, returning a dictionary with collection name and inferred schema.
Instructions
Get the schema for a collection in the specified scope. Returns a dictionary with the collection name and the schema returned by running INFER query on the Couchbase collection.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection_name | Yes | ||
scope_name | Yes |