Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementar pesquisa simples (um argumento para mais de um campo) #80

Open
jefersonmiranda opened this issue May 22, 2017 · 0 comments
Open

Comments

@jefersonmiranda
Copy link
Contributor

Por exemplo, seu eu pesquiso 'fulano', o sistema deve pesquisar nos campos 'nome', 'email', etc... Sugiro que a pesquisa simples faça uma varredura em todos os campos pela string ou pelos campos que forem passados como parâmetro.

Então, algo desse tipo:

http://localhost:8080/api/users?name||email=fulano

deve retornar:

[{"id":1,"name":"Fulano", "email": "[email protected]"}, {"id":1,"name":"Ciclano", "email": "[email protected]"}]

@jefersonmiranda jefersonmiranda changed the title Implementar pesquisa simples (um argumento para todos os campos) Implementar pesquisa simples (um argumento para mais de um campo) May 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant