marthym / juery Goto Github PK
View Code? Open in Web Editor NEWJuery is a tiny Java library to manage search and filter query from user to database.
Home Page: https://marthym.github.io/juery/
License: MIT License
Juery is a tiny Java library to manage search and filter query from user to database.
Home Page: https://marthym.github.io/juery/
License: MIT License
It could be interesting to allow range pagination.
PageRequestFormatter
to parse this parametersIf no parameters was passed in the query string the parser start offset to 1 instead of 0.
On nested Criteria, the criteria of n-level was not applyed by the visitor
Currently only equals, startWith, endWith and contains was parsed from query string.
It could be interresting to have lower and greater than operation too
When parsing querystring, if a contains operation have for value t
or f
or off
, value type is parsed as Boolean instead of string.
This can produce error, contains as no sense for boolean or numerical or temporal values
The Visitor pattern was not properly implemented. Need to replace visit
method by accept
.
Default values for pagination all was -1.
It is not very usefull, using 0 and Integer.MAX_VALUE allow using it directly in request
If no field in mongo are ObjectId and/or all the field in entity was the same as mongo schema, no additionnal configuration was need. So it can be a good feature to allow creating MongoFilterVisitor with parameters.
It is more usefull to use the mongo field name as ObjectId field instead of the criteria property name.
It's time to move the api class to record and remove deprecated api
The JooqPagination
doen’t need all the PageRequest
but only pagination data.
Refactor to group pagination data will allow to transfert only this data to JooqPagination
.
To manage in
operator from Query String juery must be able to parse array.
Allow users to define custom query string parameters
Need to improve documentation with real and complete examples of using Juery
Add main features section
Currently, only Number, Boolean and String was parsed from query string.
It could be interresting to have date and time temporal too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.