Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion swift/data/documentation/kuzu.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion swift/data/documentation/kuzu/connection.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"identifier":{"url":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection\/execute(_:_:)","interfaceLanguage":"swift"},"hierarchy":{"paths":[["doc:\/\/Kuzu\/documentation\/Kuzu","doc:\/\/Kuzu\/documentation\/Kuzu\/Connection"]]},"abstract":[{"text":"Executes the specified prepared statement with the given parameters and returns the result.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"execute"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":">("},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"preparedStatement"},{"kind":"text","text":": "},{"identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/PreparedStatement","preciseIdentifier":"s:4Kuzu17PreparedStatementC","kind":"typeIdentifier","text":"PreparedStatement"},{"kind":"text","text":", "},{"kind":"externalParam","text":"_"},{"kind":"text","text":" "},{"kind":"internalParam","text":"parameters"},{"kind":"text","text":": ["},{"preciseIdentifier":"s:SS","kind":"typeIdentifier","text":"String"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"?]) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/QueryResult","preciseIdentifier":"s:4Kuzu11QueryResultC","kind":"typeIdentifier","text":"QueryResult"}],"languages":["swift"]}]},{"parameters":[{"name":"preparedStatement","content":[{"inlineContent":[{"text":"The prepared statement to execute","type":"text"}],"type":"paragraph"}]},{"name":"parameters","content":[{"type":"paragraph","inlineContent":[{"text":"A dictionary mapping parameter names to their values","type":"text"}]}]}],"kind":"parameters"},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A QueryResult containing the results of the query","type":"text"}]}]},{"kind":"content","content":[{"type":"heading","anchor":"discussion","text":"Discussion","level":2},{"type":"aside","style":"note","name":"Throws","content":[{"inlineContent":[{"type":"text","text":"KuzuError if query execution fails"}],"type":"paragraph"}]}]}],"sections":[],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/kuzu\/connection\/execute(_:_:)"]}],"metadata":{"title":"execute(_:_:)","modules":[{"name":"Kuzu"}],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"execute","kind":"identifier"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"PreparedStatement","kind":"typeIdentifier","preciseIdentifier":"s:4Kuzu17PreparedStatementC"},{"text":", [","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" : ","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"?]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"QueryResult","kind":"typeIdentifier","preciseIdentifier":"s:4Kuzu11QueryResultC"}],"symbolKind":"method","externalID":"s:4Kuzu10ConnectionC7executeyAA11QueryResultCAA17PreparedStatementC_SDySSxSgGtKlF","role":"symbol","roleHeading":"Instance Method"},"schemaVersion":{"major":0,"minor":3,"patch":0},"kind":"symbol","references":{"doc://Kuzu/documentation/Kuzu/Connection/execute(_:_:)":{"role":"symbol","title":"execute(_:_:)","type":"topic","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection\/execute(_:_:)","url":"\/documentation\/kuzu\/connection\/execute(_:_:)","kind":"symbol","abstract":[{"type":"text","text":"Executes the specified prepared statement with the given parameters and returns the result."}],"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"execute"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":">("},{"kind":"typeIdentifier","text":"PreparedStatement","preciseIdentifier":"s:4Kuzu17PreparedStatementC"},{"kind":"text","text":", ["},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"?]) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"QueryResult","preciseIdentifier":"s:4Kuzu11QueryResultC"}]},"doc://Kuzu/documentation/Kuzu":{"title":"Kuzu","role":"collection","type":"topic","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu","kind":"symbol","url":"\/documentation\/kuzu","abstract":[]},"doc://Kuzu/documentation/Kuzu/PreparedStatement":{"kind":"symbol","type":"topic","url":"\/documentation\/kuzu\/preparedstatement","title":"PreparedStatement","abstract":[{"text":"A class representing a prepared statement in Kuzu.","type":"text"},{"text":" ","type":"text"},{"text":"PreparedStatement can be used to execute a query with parameters.","type":"text"},{"text":" ","type":"text"},{"text":"It is returned by the ","type":"text"},{"type":"codeVoice","code":"prepare"},{"text":" method of Connection.","type":"text"}],"role":"symbol","navigatorTitle":[{"kind":"identifier","text":"PreparedStatement"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"PreparedStatement"}],"identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/PreparedStatement"},"doc://Kuzu/documentation/Kuzu/Connection":{"title":"Connection","type":"topic","role":"symbol","url":"\/documentation\/kuzu\/connection","kind":"symbol","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection","abstract":[{"type":"text","text":"Represents a connection to a Kuzu database."}],"navigatorTitle":[{"kind":"identifier","text":"Connection"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"Connection"}]},"doc://Kuzu/documentation/Kuzu/QueryResult":{"url":"\/documentation\/kuzu\/queryresult","navigatorTitle":[{"text":"QueryResult","kind":"identifier"}],"type":"topic","abstract":[{"text":"A class representing the result of a query, which can be used to iterate over the result set.","type":"text"},{"text":" ","type":"text"},{"text":"QueryResult is returned by the ","type":"text"},{"code":"query","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"execute","type":"codeVoice"},{"text":" methods of Connection.","type":"text"},{"text":" ","type":"text"},{"text":"It conforms to ","type":"text"},{"code":"CustomStringConvertible","type":"codeVoice"},{"text":" and ","type":"text"},{"code":"Sequence","type":"codeVoice"},{"text":" protocols for easy string representation and iteration.","type":"text"}],"role":"symbol","title":"QueryResult","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/QueryResult","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"QueryResult","kind":"identifier"}],"kind":"symbol"}}}
{"abstract":[{"type":"text","text":"Executes the specified prepared statement with the given parameters and returns the result."}],"identifier":{"url":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection\/execute(_:_:)","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"patch":0,"minor":3,"major":0},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"execute","kind":"identifier"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"preparedStatement","kind":"internalParam"},{"text":": ","kind":"text"},{"identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/PreparedStatement","text":"PreparedStatement","preciseIdentifier":"s:4Kuzu17PreparedStatementC","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"parameters","kind":"internalParam"},{"text":": [","kind":"text"},{"text":"String","preciseIdentifier":"s:SS","kind":"typeIdentifier"},{"text":" : ","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"?]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/QueryResult","text":"QueryResult","preciseIdentifier":"s:4Kuzu11QueryResultC"}],"languages":["swift"]}]},{"kind":"parameters","parameters":[{"name":"preparedStatement","content":[{"inlineContent":[{"text":"The prepared statement to execute","type":"text"}],"type":"paragraph"}]},{"name":"parameters","content":[{"inlineContent":[{"text":"A dictionary mapping parameter names to their values","type":"text"}],"type":"paragraph"}]}]},{"kind":"content","content":[{"type":"heading","level":2,"text":"Return Value","anchor":"return-value"},{"type":"paragraph","inlineContent":[{"text":"A QueryResult containing the results of the query","type":"text"}]}]},{"kind":"content","content":[{"anchor":"discussion","type":"heading","level":2,"text":"Discussion"},{"name":"Throws","style":"note","type":"aside","content":[{"type":"paragraph","inlineContent":[{"text":"KuzuError if query execution fails","type":"text"}]}]}]}],"sections":[],"metadata":{"roleHeading":"Instance Method","role":"symbol","externalID":"s:4Kuzu10ConnectionC7executeyAA11QueryResultCAA17PreparedStatementC_SDySSxSgGtKlF","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"execute","kind":"identifier"},{"text":"<","kind":"text"},{"text":"T","kind":"genericParameter"},{"text":">(","kind":"text"},{"text":"PreparedStatement","kind":"typeIdentifier","preciseIdentifier":"s:4Kuzu17PreparedStatementC"},{"text":", [","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":" : ","kind":"text"},{"text":"T","kind":"typeIdentifier"},{"text":"?]) ","kind":"text"},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"text":"QueryResult","kind":"typeIdentifier","preciseIdentifier":"s:4Kuzu11QueryResultC"}],"modules":[{"name":"Kuzu"}],"title":"execute(_:_:)","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/Kuzu\/documentation\/Kuzu","doc:\/\/Kuzu\/documentation\/Kuzu\/Connection"]]},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/kuzu\/connection\/execute(_:_:)"]}],"references":{"doc://Kuzu/documentation/Kuzu/Connection":{"navigatorTitle":[{"text":"Connection","kind":"identifier"}],"identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection","kind":"symbol","title":"Connection","url":"\/documentation\/kuzu\/connection","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Connection","kind":"identifier"}],"abstract":[{"type":"text","text":"Represents a connection to a Kuzu database."}]},"doc://Kuzu/documentation/Kuzu/QueryResult":{"title":"QueryResult","url":"\/documentation\/kuzu\/queryresult","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"QueryResult","kind":"identifier"}],"navigatorTitle":[{"text":"QueryResult","kind":"identifier"}],"kind":"symbol","role":"symbol","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/QueryResult","abstract":[{"type":"text","text":"A class representing the result of a query, which can be used to iterate over the result set."},{"type":"text","text":" "},{"type":"text","text":"QueryResult is returned by the "},{"code":"query","type":"codeVoice"},{"type":"text","text":" and "},{"code":"execute","type":"codeVoice"},{"type":"text","text":" methods of Connection."},{"type":"text","text":" "},{"type":"text","text":"It conforms to "},{"code":"CustomStringConvertible","type":"codeVoice"},{"type":"text","text":" and "},{"code":"Sequence","type":"codeVoice"},{"type":"text","text":" protocols for easy string representation and iteration."}]},"doc://Kuzu/documentation/Kuzu/Connection/execute(_:_:)":{"abstract":[{"type":"text","text":"Executes the specified prepared statement with the given parameters and returns the result."}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"execute"},{"kind":"text","text":"<"},{"kind":"genericParameter","text":"T"},{"kind":"text","text":">("},{"kind":"typeIdentifier","preciseIdentifier":"s:4Kuzu17PreparedStatementC","text":"PreparedStatement"},{"kind":"text","text":", ["},{"kind":"typeIdentifier","preciseIdentifier":"s:SS","text":"String"},{"kind":"text","text":" : "},{"kind":"typeIdentifier","text":"T"},{"kind":"text","text":"?]) "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:4Kuzu11QueryResultC","text":"QueryResult"}],"kind":"symbol","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection\/execute(_:_:)","url":"\/documentation\/kuzu\/connection\/execute(_:_:)","title":"execute(_:_:)","type":"topic"},"doc://Kuzu/documentation/Kuzu/PreparedStatement":{"identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/PreparedStatement","title":"PreparedStatement","abstract":[{"type":"text","text":"A class representing a prepared statement in Kuzu."},{"type":"text","text":" "},{"type":"text","text":"PreparedStatement can be used to execute a query with parameters."},{"type":"text","text":" "},{"type":"text","text":"It is returned by the "},{"type":"codeVoice","code":"prepare"},{"type":"text","text":" method of Connection."}],"role":"symbol","fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"PreparedStatement"}],"url":"\/documentation\/kuzu\/preparedstatement","type":"topic","navigatorTitle":[{"kind":"identifier","text":"PreparedStatement"}],"kind":"symbol"},"doc://Kuzu/documentation/Kuzu":{"title":"Kuzu","url":"\/documentation\/kuzu","role":"collection","type":"topic","abstract":[],"kind":"symbol","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu"}}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"schemaVersion":{"patch":0,"minor":3,"major":0},"hierarchy":{"paths":[["doc:\/\/Kuzu\/documentation\/Kuzu","doc:\/\/Kuzu\/documentation\/Kuzu\/Connection"]]},"abstract":[{"type":"text","text":"Returns the maximum number of threads that can be used for executing a query in parallel."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getMaxNumThreadForExec","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"UInt64","preciseIdentifier":"s:s6UInt64V","kind":"typeIdentifier"}],"platforms":["macOS"]}]},{"kind":"content","content":[{"type":"heading","anchor":"return-value","level":2,"text":"Return Value"},{"type":"paragraph","inlineContent":[{"text":"The maximum number of threads","type":"text"}]}]}],"sections":[],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection\/getMaxNumThreadForExec()"},"metadata":{"roleHeading":"Instance Method","modules":[{"name":"Kuzu"}],"role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getMaxNumThreadForExec"},{"kind":"text","text":"() -> "},{"preciseIdentifier":"s:s6UInt64V","kind":"typeIdentifier","text":"UInt64"}],"title":"getMaxNumThreadForExec()","externalID":"s:4Kuzu10ConnectionC22getMaxNumThreadForExecs6UInt64VyF","symbolKind":"method"},"variants":[{"paths":["\/documentation\/kuzu\/connection\/getmaxnumthreadforexec()"],"traits":[{"interfaceLanguage":"swift"}]}],"kind":"symbol","references":{"doc://Kuzu/documentation/Kuzu":{"title":"Kuzu","role":"collection","type":"topic","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu","kind":"symbol","url":"\/documentation\/kuzu","abstract":[]},"doc://Kuzu/documentation/Kuzu/Connection/getMaxNumThreadForExec()":{"role":"symbol","abstract":[{"text":"Returns the maximum number of threads that can be used for executing a query in parallel.","type":"text"}],"identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection\/getMaxNumThreadForExec()","type":"topic","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getMaxNumThreadForExec"},{"kind":"text","text":"() -> "},{"kind":"typeIdentifier","text":"UInt64","preciseIdentifier":"s:s6UInt64V"}],"kind":"symbol","title":"getMaxNumThreadForExec()","url":"\/documentation\/kuzu\/connection\/getmaxnumthreadforexec()"},"doc://Kuzu/documentation/Kuzu/Connection":{"title":"Connection","type":"topic","role":"symbol","url":"\/documentation\/kuzu\/connection","kind":"symbol","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection","abstract":[{"type":"text","text":"Represents a connection to a Kuzu database."}],"navigatorTitle":[{"kind":"identifier","text":"Connection"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"Connection"}]}}}
{"abstract":[{"text":"Returns the maximum number of threads that can be used for executing a query in parallel.","type":"text"}],"primaryContentSections":[{"declarations":[{"platforms":["macOS"],"tokens":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getMaxNumThreadForExec","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"UInt64","kind":"typeIdentifier","preciseIdentifier":"s:s6UInt64V"}],"languages":["swift"]}],"kind":"declarations"},{"kind":"content","content":[{"type":"heading","text":"Return Value","anchor":"return-value","level":2},{"type":"paragraph","inlineContent":[{"type":"text","text":"The maximum number of threads"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/kuzu\/connection\/getmaxnumthreadforexec()"]}],"kind":"symbol","hierarchy":{"paths":[["doc:\/\/Kuzu\/documentation\/Kuzu","doc:\/\/Kuzu\/documentation\/Kuzu\/Connection"]]},"schemaVersion":{"minor":3,"major":0,"patch":0},"sections":[],"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"getMaxNumThreadForExec","kind":"identifier"},{"text":"() -> ","kind":"text"},{"text":"UInt64","kind":"typeIdentifier","preciseIdentifier":"s:s6UInt64V"}],"role":"symbol","symbolKind":"method","externalID":"s:4Kuzu10ConnectionC22getMaxNumThreadForExecs6UInt64VyF","modules":[{"name":"Kuzu"}],"roleHeading":"Instance Method","title":"getMaxNumThreadForExec()"},"identifier":{"url":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection\/getMaxNumThreadForExec()","interfaceLanguage":"swift"},"references":{"doc://Kuzu/documentation/Kuzu/Connection/getMaxNumThreadForExec()":{"abstract":[{"type":"text","text":"Returns the maximum number of threads that can be used for executing a query in parallel."}],"url":"\/documentation\/kuzu\/connection\/getmaxnumthreadforexec()","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"getMaxNumThreadForExec"},{"kind":"text","text":"() -> "},{"preciseIdentifier":"s:s6UInt64V","kind":"typeIdentifier","text":"UInt64"}],"type":"topic","role":"symbol","kind":"symbol","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection\/getMaxNumThreadForExec()","title":"getMaxNumThreadForExec()"},"doc://Kuzu/documentation/Kuzu":{"title":"Kuzu","url":"\/documentation\/kuzu","role":"collection","type":"topic","abstract":[],"kind":"symbol","identifier":"doc:\/\/Kuzu\/documentation\/Kuzu"},"doc://Kuzu/documentation/Kuzu/Connection":{"navigatorTitle":[{"text":"Connection","kind":"identifier"}],"identifier":"doc:\/\/Kuzu\/documentation\/Kuzu\/Connection","kind":"symbol","title":"Connection","url":"\/documentation\/kuzu\/connection","role":"symbol","type":"topic","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Connection","kind":"identifier"}],"abstract":[{"type":"text","text":"Represents a connection to a Kuzu database."}]}}}
Loading