A direct-directed question, does anyone know how to make a template query using the morphine associated with the mongoDB database?
Here is what the mongo expression should look like:
Mongo: db.users.find({name:/Joe/})
SQL: SELECT * FROM users WHERE name LIKE "%Joe%"
My application for morphine looks like this:
ds.find(File.class, "filename","/test/").order("filename").asList(); : ds.find(File.class, "filename","/test/").order("filename").asList();
I have file names in my database such as test1, test, etc.
If someone can tell me if this is possible with morphine, that would be very helpful.
thanks
source share