Skip to content

Create a collection

Create a collection

Before we can add objects to Answers, we need to first create a Collection - we give it a name, then Answers will automatically detect your properties and data types based on the objects you index.

Available data types

Data TypeExample
stringstring
list of strings[“string one”, “string two”]

Answers > Collections

Collections act as organizational structures in Answers that group similar objects together and function like database tables for efficient data management and retrieval.

Answers > Objects

Objects in Answers function as indexed records that utilize either custom string IDs or auto-generated identifiers without requiring explicit schema definition.

Collections > Update a collection

Collections can be updated to modify their properties and attributes while maintaining their role as database-like structures for organizing similar objects.

Collections > Get a collection

A method to retrieve detailed information about a specific collection by using its designated name within the system.