Writing to specific schemas with RPostgreSQL

后端 未结 3 416
孤街浪徒
孤街浪徒 2020-12-14 01:48

I\'m using RPostgreSQL to read and write data. Reading from any schema works perfectly, but I\'m not able to write to non-public schemas. For example, the following code pla

3条回答
  •  长情又很酷
    2020-12-14 02:20

    In case a reader is using the newer package RPostgres to do this, the code to specify schemas is:

    dbCreateTable(conn = con, name = Id(schema = "yourschema", table = "yourtable"), fields = yourRdataframe)

提交回复
热议问题