Hi
I saved a text into blob column in mysql table
How I can I retrieve it as a text
I use this lines:
res = db.query(squery)
if (res.num_rows != 0) then
res.each do |row|
text = row[0].to_s
end
end
Hi
I saved a text into blob column in mysql table
How I can I retrieve it as a text
I use this lines:
res = db.query(squery)
if (res.num_rows != 0) then
res.each do |row|
text = row[0].to_s
end
end
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs