Mandarine v1.3.0 is coming, and you should be aware of this... #246
andreespirela
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Like I always mention, Mandarine is currently looking for collaborators. if you feel you are that person, feel free to reach out to me or open an issue in our main repository. Thanks NestLand for having this discussion tab and making it available for this type of presentations. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there!. I'm Andres Pirela, Author of Mandarine.TS.
As of right now, we find ourselves working for version 1.3.0 which will be a major version with a lot of useful things coming.
/(.*)
.greaterThan
andlessThan
to MQL (Mandarine Query Language).Mandarine query language. Many of you may not know what this is, and it is hard to explain. Basically, MQL transform the name of your methods into SQL queries.
With Mandarine, you would inject
MyRepository
, and then when you callfindByNameAndCountryIsNotAndAgeIsGreaterThan
you would also be executing a database query according to your configured data source (as of right now, only postgres is supported)In
myHandler
when callingfindByNameAndCountryIsNotAndAgeIsGreaterThan
that would be translated to the following DB query:The whole process is managed automatically by mandarine, and when calling your empty function
findByNameAndCountryAndAgeIsGreaterThan
you will be actually getting data from the database. This is all done by Mandarine.For more information about MQL click here
Hint: Mandarine v2.0.0 planning has already started, and it's really nice!.
Beta Was this translation helpful? Give feedback.
All reactions