Protocol
Relation
A protocol which designates a conforming type as representing a database relation of any kind. Intended for use only by FluentKit property wrappers.
protocol Relation : Sendable
Overview
Note
This protocol should probably require conformance to Property, but adding that requirement wouldn’t have enough value to be worth having to hand-wave a technically semver-major change.
Topics
Associated Types
Instance Properties
Instance Methods
get(reload:on:)Return the value of the relation, loading it first if necessary.load(on:)
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype