Server side queries
Hi, congrats on this great project.
It reminds me of DerbyJs and RacerJs, which is a very interesting concept.
What do you think of server side queries in SapphireDb? Meaning instead of the client specifying the query to run, the server exposes a function that encapsulates the server query, and the client is only able to change this function parameters.
This increases security since the server hides models and queries from the clients.
Hi. Thank you.
That's definitely an interesting point. I think I'll add it to the to-do list and will implement it soon. I really like the idea and I think it could also solve the problem of duplicating the same query in multiple client implementations of an application.
Thank you a lot.
Best regards
Morris
I'm currently developing the proposed feature. You can follow the development in the branch server_side_query_definition. The development is almost complete.
Thank you again for the good idea.