Henry Henrinson
Henry Henrinson

Reputation: 5402

How to upload a file to the database using playframework in Scala

What is the recommended way of handling file uploads to the database using Play!2 with Scala?

Upvotes: 2

Views: 979

Answers (1)

alex
alex

Reputation: 176

Depending on your specific requirements, MongoDB's GridFS will store files for you in a much more efficient and scalable manner than any relational database and filesystem.

http://www.mongodb.org/display/DOCS/GridFS

There are plenty of MongoDB plugins for Play that support GridFS.

Upvotes: 0

Related Questions