Skip to content

Improve README.md #677

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ Request all data without filter by request
]
```

Conducting research in the repository
Examples of using search queries:

`http://prettus.local/users?search=John%20Doe`

Expand Down Expand Up @@ -689,6 +689,7 @@ In order for it to query using the **AND**, pass the *searchJoin* parameter as s
`http://prettus.local/users?search=age:17;email:[email protected]&searchJoin=and`


**Notice**: "Laravel 5 Repositories" automatically converts snakeCase to camel_case in search params. For example, if you would have a field in database named "phone_number", it can be searched like this: ?search=phoneNumber:38169000000



Expand Down Expand Up @@ -738,7 +739,7 @@ Sorting through related tables

`http://prettus.local/users?orderBy=posts|title&sortedBy=desc`

Query will have something like this
Database query will look something like this

```sql
...
Expand All @@ -750,7 +751,7 @@ ORDER BY title

`http://prettus.local/users?orderBy=posts:custom_id|posts.title&sortedBy=desc`

Query will have something like this
Database query will look something like this

```sql
...
Expand Down