Insert in RMySQL from data frame

前端 未结 2 773
误落风尘
误落风尘 2020-12-30 13:32

Im trying to add data to MySQL table by using RMySQL. I only need to add one row at a time and it\'s not working. What I\'m trying to do is this.

dbGetQuery(         


        
2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 13:43

    You could try with:

    dbWriteTable(names, data[1,],append=True)
    

    as the DBI package details

提交回复
热议问题