How Do I Open an SQLite3 Table in Ruby That is Read from an S3 Object -
so trying read sqlite3 database have stored on s3.
i can fetch , read file , raw innards like:
puts dbdata ????????etable1t#sample texttabl#sample text1 in#sample textvarc#sample text #sample text #sample text #sample text => nil
but if try create sqlite3 object in ruby out of this, not have table.
i'd this:
db = sqlite3::database.open(dbdata)
so can query object. lost here, know how create sqlite3 db files contents, not file itself? i'd try , avoid downloading file each time script runs.
you need content of database use it. so, what's problem downloading it?
there no way around it.
Comments
Post a Comment