mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Merge pull request #1184 from GetToSet/ethanwong/update-row-adapter-doc
Update RowAdapter doc to cover all concrete adapters.
This commit is contained in:
1 file changed
+4
-2
@@ -185,9 +185,11 @@ public protocol _RowAdapter {
|
||||
/// GRDB ships with four concrete types that adopt the RowAdapter protocol:
|
||||
///
|
||||
/// - `ColumnMapping`: renames row columns
|
||||
/// - `SuffixRowAdapter`: hides the first columns of a row
|
||||
/// - `RangeRowAdapter`: only exposes a range of columns
|
||||
/// - `EmptyRowAdapter`: hides all columns
|
||||
/// - `RangeRowAdapter`: exposes a range of columns
|
||||
/// - `RenameColumnAdapter`: transforms column names with a function
|
||||
/// - `ScopeAdapter`: defines row scopes
|
||||
/// - `SuffixRowAdapter`: hides the first columns of a row
|
||||
///
|
||||
/// To use a row adapter, provide it to any method that fetches:
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user