Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by stonecolddevin (Parson)
on Sep 18, 2009 at 20:56 UTC ( #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
Node Status?
node history
Node Type: note [id://796200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-08-13 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (74 votes). Check out past polls.

    Notices?