Files
2022-11-09 08:57:09 +01:00

1 line
6.6 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"map"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"transform"},{"kind":"text","text":": "},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" ("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Element"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/GRDB\/documentation\/GRDB\/MapCursor","preciseIdentifier":"s:4GRDB9MapCursorC","text":"MapCursor"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"languages":["swift"],"platforms":["macOS"]}]}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"variants":[{"paths":["\/documentation\/grdb\/sqlstatementcursor\/map(_:)"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/GRDB\/documentation\/GRDB\/SQLStatementCursor\/map(_:)","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":"Returns a cursor over the results of the transform function applied to"},{"type":"text","text":" "},{"type":"text","text":"this cursor’s elements."}],"kind":"symbol","metadata":{"role":"symbol","title":"map(_:)","roleHeading":"Instance Method","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"map"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":">(("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Element"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"MapCursor","preciseIdentifier":"s:4GRDB9MapCursorC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"symbolKind":"method","externalID":"s:4GRDB6CursorPAAE3mapyAA03MapB0Cyxqd__Gqd__7ElementQzKclF::SYNTHESIZED::s:4GRDB18SQLStatementCursorC","extendedModule":"GRDB","modules":[{"name":"GRDB"}]},"hierarchy":{"paths":[["doc:\/\/GRDB\/documentation\/GRDB","doc:\/\/GRDB\/documentation\/GRDB\/DatabaseConnections","doc:\/\/GRDB\/documentation\/GRDB\/Database","doc:\/\/GRDB\/documentation\/GRDB\/SQLStatementCursor","doc:\/\/GRDB\/documentation\/GRDB\/SQLStatementCursor\/Cursor-Implementations"]]},"references":{"doc://GRDB/documentation/GRDB/MapCursor":{"role":"symbol","title":"MapCursor","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"MapCursor"}],"abstract":[{"type":"text","text":"A "},{"type":"codeVoice","code":"Cursor"},{"type":"text","text":" whose elements consist of those in a "},{"type":"codeVoice","code":"Base"},{"type":"text","text":" cursor passed through"},{"type":"text","text":" "},{"type":"text","text":"a transform function returning Element."}],"identifier":"doc:\/\/GRDB\/documentation\/GRDB\/MapCursor","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"MapCursor"}],"url":"\/documentation\/grdb\/mapcursor"},"doc://GRDB/documentation/GRDB/SQLStatementCursor":{"role":"symbol","title":"SQLStatementCursor","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"SQLStatementCursor"}],"abstract":[{"type":"text","text":"A cursor over all statements in an SQL string."}],"identifier":"doc:\/\/GRDB\/documentation\/GRDB\/SQLStatementCursor","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"SQLStatementCursor"}],"url":"\/documentation\/grdb\/sqlstatementcursor"},"doc://GRDB/documentation/GRDB/Database":{"role":"symbol","title":"Database","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"Database"}],"abstract":[{"type":"text","text":"An SQLite connection."}],"identifier":"doc:\/\/GRDB\/documentation\/GRDB\/Database","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Database"}],"url":"\/documentation\/grdb\/database"},"doc://GRDB/documentation/GRDB":{"role":"collection","title":"GRDB","abstract":[{"type":"text","text":"A toolkit for SQLite databases, with a focus on application development"}],"identifier":"doc:\/\/GRDB\/documentation\/GRDB","kind":"symbol","type":"topic","url":"\/documentation\/grdb"},"doc://GRDB/documentation/GRDB/SQLStatementCursor/Cursor-Implementations":{"role":"collectionGroup","title":"Cursor Implementations","abstract":[],"identifier":"doc:\/\/GRDB\/documentation\/GRDB\/SQLStatementCursor\/Cursor-Implementations","kind":"article","type":"topic","url":"\/documentation\/grdb\/sqlstatementcursor\/cursor-implementations"},"doc://GRDB/documentation/GRDB/DatabaseConnections":{"role":"collectionGroup","title":"Database Connections","abstract":[{"type":"text","text":"Open database connections to SQLite databases."}],"identifier":"doc:\/\/GRDB\/documentation\/GRDB\/DatabaseConnections","kind":"article","type":"topic","url":"\/documentation\/grdb\/databaseconnections"},"doc://GRDB/documentation/GRDB/SQLStatementCursor/map(_:)":{"role":"symbol","title":"map(_:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"map"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":">(("},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Element"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","text":"MapCursor","preciseIdentifier":"s:4GRDB9MapCursorC"},{"kind":"text","text":"<"},{"kind":"typeIdentifier","text":"Self"},{"kind":"text","text":", "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":">"}],"abstract":[{"type":"text","text":"Returns a cursor over the results of the transform function applied to"},{"type":"text","text":" "},{"type":"text","text":"this cursor’s elements."}],"identifier":"doc:\/\/GRDB\/documentation\/GRDB\/SQLStatementCursor\/map(_:)","kind":"symbol","type":"topic","url":"\/documentation\/grdb\/sqlstatementcursor\/map(_:)"}}}