Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Insert BLOB into DB without using system memory, but using filehandle.

by stonecolddevin (Parson)
on Sep 18, 2009 at 20:56 UTC ( [id://796200]=note: print w/replies, xml ) Need Help??


in reply to Insert BLOB into DB without using system memory, but using filehandle.

Check out DBIx::Class::InflateColumn::FS.  It automatically writes your file to the file system and provides a Path::Class object as the record retrieved from the database.  This keeps your database clean and stores only the pointers, and allows the filesystem to take care of the image files as it should.

mtfpny

  • Comment on Re: Insert BLOB into DB without using system memory, but using filehandle.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://796200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (None)
    As of 2024-04-19 00:22 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found