File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 2525
2626import Foundation
2727
28+ /// An enumeration representing the result of a query or operation in SQLiteCloud.
2829public enum SQLiteCloudResult : Hashable , Sendable {
30+ /// The operation was successful with no specific data.
2931 case success
32+
33+ /// A result in JSON format as a string.
3034 case json( String )
35+
36+ /// A single value result.
3137 case value( SQLiteCloudValue )
38+
39+ /// An array of values as a result.
3240 case array( [ SQLiteCloudValue ] )
41+
42+ /// A rowset containing columns and rows.
3343 case rowset( SQLiteCloudRowset )
3444}
3545
Original file line number Diff line number Diff line change 2525
2626import Foundation
2727
28- public enum SQLiteCloudValueType : Int {
28+ /// An enumeration representing the value types used in SQLiteCloud for database values.
29+ public enum SQLiteCloudValueType : Int , Sendable {
30+ /// An integer value.
2931 case integer = 1
32+
33+ /// A floating-point (double) value.
3034 case float = 2
35+
36+ /// A text (string) value.
3137 case text = 3
38+
39+ /// A binary large object (blob) value.
3240 case blob = 4
41+
42+ /// A null value.
3343 case null = 5
44+
45+ /// An unknown or unsupported value type.
3446 case unknown = - 1
3547}
48+
Original file line number Diff line number Diff line change 2525
2626import Foundation
2727
28- class DownloadHelper {
28+ final class DownloadHelper {
2929 let outputStream : OutputStream
3030 let progressHandler : ProgressHandler
3131
3232 deinit {
33- debugPrint ( " deinit " )
3433 outputStream. close ( )
3534 }
3635
You can’t perform that action at this time.
0 commit comments