Hide package API
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Foundation
|
||||
import DataLiteCore
|
||||
|
||||
public extension SQLiteRow {
|
||||
package extension SQLiteRow {
|
||||
func contains(_ key: CodingKey) -> Bool {
|
||||
if let index = key.intValue {
|
||||
0..<count ~= index
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
import Foundation
|
||||
|
||||
public struct RowCodingKey: CodingKey, Equatable {
|
||||
package struct RowCodingKey: CodingKey, Equatable {
|
||||
// MARK: - Properties
|
||||
|
||||
public let stringValue: String
|
||||
public let intValue: Int?
|
||||
package let stringValue: String
|
||||
package let intValue: Int?
|
||||
|
||||
// MARK: - Inits
|
||||
|
||||
public init(stringValue: String) {
|
||||
package init(stringValue: String) {
|
||||
self.stringValue = stringValue
|
||||
self.intValue = nil
|
||||
}
|
||||
|
||||
public init(intValue: Int) {
|
||||
package init(intValue: Int) {
|
||||
self.stringValue = "Index \(intValue)"
|
||||
self.intValue = intValue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user