Skip to content

Collections

Collections

In Answers, every record you index is called an Object and a group of objects with similar fields is called a Collection. A Collection is roughly equivalent to a table in a relational database. The idea is that objects can be compared with each other - filtered, searched, ranked, etc.

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 > Create a collection

Collections must be created with a name before adding objects to Answers which automatically detects properties and data types based on indexed objects supporting string and list of strings formats.

Collections > Get a collection

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

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.