RangeReplaceableCollection
-
Creates a collection containing the elements of a cursor.
// [String] let cursor = try String.fetchCursor(db, ...) let strings = try Array(cursor)
-
Creates a collection containing the elements of a cursor.
// [String] let cursor = try String.fetchCursor(db, ...) let strings = try Array(cursor, minimumCapacity: 100)
-
Adds the elements of a cursor to the end of this collection.
In case of error, an unspecified amount of elements have been added to the collection.