Data collections
Introduction
Data collections are the core building blocks of your data model in Sutro. They represent groups of related data, similar to tables in a database, with each row representing an item and each column representing a property of that item. Managing your collections effectively ensures that your software can handle data efficiently and accurately. In this guide, we’ll cover how to navigate, create, duplicate, rename, and delete collections.
Navigating to a specific collection
Navigate to the Data section.
The currently selected collection will display above the table on the left hand side of the Data section.
Click on the dropdown icon next to the current collection title to see a list of all the collections in your data model.
Select any collection from the list.
Creating a new collection
Navigate to the Data section.
Click on the dropdown icon next to the current collection title.
Click the + symbol to create a new collection.
Enter a unique and descriptive name for your new collection or accept the default name created.
Duplicating a collection
Navigate to the Data section.
Click on the dropdown icon next to the current collection title to select the collection you want to duplicate.
Click the Options menu (three dots) on the right hand side of the Data section.
Select Duplicate collection from the dropdown menu.
Enter a new name for the duplicated collection or accept the default name created.
Renaming a collection
Navigate to the Data section.
Click on the dropdown icon next to the current collection title to select the collection you want to rename.
Click the Options menu (three dots) on the right hand side of the Data section.
Select Rename collection from the dropdown menu.
Enter a new name for the collection. You cannot select a name that is already in use by another collection.
Deleting a collection
Navigate to the Data section.
Click on the dropdown icon next to the current collection title to select the collection you want to delete.
Click the Options menu (three dots) on the right hand side of the Data section.
Select Delete collection from the dropdown menu.
A pop-up will appear. Confirm the deletion by clicking Delete again. If you do not wish to delete the collection, click Cancel.
Adding properties to a collection
Please reference the Data properties help guide.
Best practices
Plan ahead: Before creating or deleting collections, consider the impact on your software’s functionality.
Use descriptive names: Make collection names meaningful and relevant to the data they hold.
Review duplicates: When duplicating, verify the new collection’s name to avoid confusion.
Summary
Efficiently managing data collections helps keep your software organized and functional. With options to create, duplicate, rename, and delete collections, you have full control over your software’s data structure. Always double-check changes to ensure your software remains consistent and functional.