mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Wording
This commit is contained in:
1 parent
9e974a4c96
commit
eb0983facd
1 file changed
+1
-1
@@ -170,7 +170,7 @@ struct Place: Codable {
|
||||
}
|
||||
```
|
||||
|
||||
Such encapsulation of raw columns can happen in many other cases. A second example? The record below exposes a `price: Decimal` ($12.00), and hides the integer column that stores a quantity of cents (1200) (this allows SQLite to compute exact sums of prices):
|
||||
Such encapsulation of raw columns can happen in many other cases. A second example? The record below exposes a `price: Decimal` ($12.00), and hides the integer column that stores a quantity of cents (1200). Integer columns allow SQLite to compute exact sums of prices when needed:
|
||||
|
||||
```swift
|
||||
struct Product: Codable {
|
||||
|
||||
Reference in new issue
Block a user