File tree 3 files changed +25
-3
lines changed
3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 25
25
26
26
import Foundation
27
27
28
+ /// An enumeration representing the result of a query or operation in SQLiteCloud.
28
29
public enum SQLiteCloudResult : Hashable , Sendable {
30
+ /// The operation was successful with no specific data.
29
31
case success
32
+
33
+ /// A result in JSON format as a string.
30
34
case json( String )
35
+
36
+ /// A single value result.
31
37
case value( SQLiteCloudValue )
38
+
39
+ /// An array of values as a result.
32
40
case array( [ SQLiteCloudValue ] )
41
+
42
+ /// A rowset containing columns and rows.
33
43
case rowset( SQLiteCloudRowset )
34
44
}
35
45
Original file line number Diff line number Diff line change 25
25
26
26
import Foundation
27
27
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.
29
31
case integer = 1
32
+
33
+ /// A floating-point (double) value.
30
34
case float = 2
35
+
36
+ /// A text (string) value.
31
37
case text = 3
38
+
39
+ /// A binary large object (blob) value.
32
40
case blob = 4
41
+
42
+ /// A null value.
33
43
case null = 5
44
+
45
+ /// An unknown or unsupported value type.
34
46
case unknown = - 1
35
47
}
48
+
Original file line number Diff line number Diff line change 25
25
26
26
import Foundation
27
27
28
- class DownloadHelper {
28
+ final class DownloadHelper {
29
29
let outputStream : OutputStream
30
30
let progressHandler : ProgressHandler
31
31
32
32
deinit {
33
- debugPrint ( " deinit " )
34
33
outputStream. close ( )
35
34
}
36
35
You can’t perform that action at this time.
0 commit comments