In my search for a way to deal with multi tenancy for play framework and postgresql schemas,i found this article
Here.
The problem is that i cannot figure out the way that i can execute plain sql statements in play(i am totally noob),can any one help please?.
In my search for a way to deal with multi tenancy for play framework
Share
In play you have the DB object that helps you getting the raw jdbc objects. If your query is a simple update without parameters you can do
if your query is a simple select without parameters you can do
if you have something more complex, with parameters, you can then use PreparedStatement by getting directly the connexion