Skip to content

Instantly share code, notes, and snippets.

View gwynne's full-sized avatar
💫
Long-winded

Gwynne Raskind gwynne

💫
Long-winded
View GitHub Profile
import SQLKit
import FluentKit
/// Read each method's comments in the order they appear (from `fieldKey(for:)` through `sqlColumn(for:)`) for an
/// _EXTREMELY_ detailed breakdown of how the heck this all works.
extension Fields {
/// Returns the singular `FieldKey` corresponding to a specific property of the model.
///
/// Detailed operation:
///