⌘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 dbGetQuery (0.000 sec.)
R Client 9414
Installation To use the DuckDB R client, visit the R installation page . The latest stable version of the DuckDB R client is 2.0.0. Installation duckdb : R Client The DuckDB R client can be installed using the following command: install.pac ... retrieve result sets. dbExecute() is meant for queries where no results are expected like CREATE TABLE or UPDATE etc. and dbGetQuery() is meant to be used for queries that produce results (e.g., SELECT ). Below is an example. # create a table dbExecute(co ... table dbExecute(con, "INSERT INTO items VALUES ('jeans', 20.0, 1), ('hammer', 42.2, 2)") # retrieve the items again res <- dbGetQuery(con, "SELECT * FROM items") print(res) # item value count # 1 jeans 20.0 1 # 2 hammer 42.2 2 DuckDB also supports prepared ... statements in the R client with the dbExecute and dbGetQuery methods. Here is an example: # prepared statement parameters are given as a list dbExecute(con, "INSERT INTO items VALUES ...
https://man.mtool.work/duckdb/2.0/clients/r.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work