ShardMetadata
public struct ShardMetadata : CodableA structure that represents metadata for a shard in the database.
ShardMetadata contains information about the shard, such as the number of documents it holds,
and timestamps for when it was created and last updated.
- Properties:
- documentCount: The total number of documents stored in the shard.
- createdAt: The date and time when the shard was created.
- updatedAt: The date and time when the shard was last updated.
 
- 
                  
                  Undocumented DeclarationSwift public var documentCount: Int
- 
                  
                  Undocumented DeclarationSwift public var createdAt: Date
- 
                  
                  Undocumented DeclarationSwift public var updatedAt: Date
- 
                  
                  Initializes a new instance of the Shardclass.DeclarationSwift public init( documentCount: Int = 0, createdAt: Date = Date(), updatedAt: Date = Date() )ParametersdocumentCountThe number of documents in the shard. Defaults to 0.createdAtThe date and time when the shard was created. Defaults to the current date and time. updatedAtThe date and time when the shard was last updated. Defaults to the current date and time. 
 View on GitHub
View on GitHub