Instance Propertymongokitten 7.9.5Meow
rawValue
Reference.swift:196var rawValue: M.Identifier.RawValue { get }
var rawValue: M.Identifier.RawValue { get }
s4Meow9ReferenceVAASY10IdentifierRpzrlE8rawValueAD_03RawE0SYQZvp
What are these?
FNV24: [987I8]
where M:ReadableModel, M.Identifier:RawRepresentable
import Meow
struct Reference<M> where M : ReadableModel
Reference to a Model by wrapping it’s _id
. Supports wrapping models with any MeowIdentifier
, including custom Codable
types.
associatedtype Identifier : PrimitiveEncodable, Decodable, Encodable, Hashable
associatedtype RawValue
The raw type that can be used to represent all values of the conforming type.
protocol ReadableModel : BaseModel, Decodable
The base specification of any readable Meow model, containing a collectionName and a _id. ReadableModel must be implemented using Decodable
. ReadableModel is currently used for any entity that is queryable. MutableModels can be saved, whereas Readableodels cannot
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
init?(rawValue: M.Identifier.RawValue)