Displaying 1 result from an estimated 1 matches for "mysqlfetch".
Did you mean:
amysql_fetch
2008 Sep 25
1
Saving R-objects to a database
...rialize(obj, NULL, ascii=TRUE))
dbSendQuery(link, paste("insert into table values(1, '",ser,"')",sep=''))
The field to save the object in the MySQL Database is of type text.
unser = dbGetQuery(link,"select * from table where id=1")
Warning message:
In mysqlFetch(res, n, ...) :
RS-DBI driver warning: (internal error: row 0 field 1 truncated)
2)
ser = serialize(obj, NULL)
dbSendQuery(link, paste("insert into table values(1, '",ser,"')",sep=''))
The field to save the object in the MySQL Database is of type blob.
resu...