RecordStore
Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.
Up and coming
Keep named records with numbered backups, so replacing one never loses the old one.
FileService:OpenRecordStoreAsync(path) gives one, a child of FileService. Records live in scope folders, and a name is used once across every scope. Each Record is a Content folder with numbered backups, instance files and metadata.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Path | string |
Methods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| GetScopesAsync yields | () | ({ string }?, string?) | |
| CreateScopeAsync yields | (name: string) | (boolean, string?) | |
| GetRecordsAsync yields | (scope: string?) | ({ Record }?, string?) | Every record in the scope, or in every scope when scope is nil. |
| FindRecordAsync yields | (name: string) | (Record?, string?) | The record with that name; nil and why when the name is in two scopes. |
| CreateRecordAsync yields | (scope: string, name: string) | (Record?, string?) | Makes a record in the scope; refuses a name that exists in any scope. |
From ShotInstance 33
ClassNameNameParentAncestryChangedAttributeChangedChangedChildAddedChildRemovedDestroyingAddTagClearAllChildrenCloneDestroyFindFirstAncestorFindFirstAncestorOfClassFindFirstAncestorWhichIsAFindFirstChildFindFirstChildOfClassFindFirstChildWhichIsAGetAttributeGetAttributeChangedSignalGetAttributesGetChildrenGetDescendantsGetFullNameGetPropertyChangedSignalGetTagsHasTagIsAIsAncestorOfIsDescendantOfRemoveTagSetAttribute
