⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 1 of about 1 for TabularData (0.000 sec.)
Swift Client 9414
DuckDB has a Swift client. See the announcement post for details. Instantiating DuckDB DuckDB supports both in-memory and persistent databases. To work with an in-memory database, run: let database = try Database(store: .inMemory) To work w ... native types using DuckDB's ResultSet cast(to:) family of methods, before finally wrapping them up in a DataFrame from the TabularData framework. ... import TabularData extension ExoplanetStore { // Retrieves the number of exoplanets discovered by year func ... umn = result[0].cast(to: Int.self) let countColumn = result[1].cast(to: Int.self) // Use our DuckDB columns to instantiate TabularData // columns and populate a TabularData DataFrame return DataFrame(columns: [ TabularData.Column(discoveryYearColumn).eraseT ... oAnyColumn(), TabularData.Column(countColumn).eraseToAnyColumn(), ]) } } Complete Project For the complete example project, clone the DuckDB Swift r ...
https://man.mtool.work/duckdb/2.0/clients/tertiary_clients/swift.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work