You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i call php-crud-api "http://XXXXXXXXXX/records/test", i constate that php-crud-api sort data by the first col.
I don't want sort.
How do to no sort by the first col by default ?
if this already exist, it"s possible to add in the readme ?
Example :
1/ I have for example a table "test" with this data :
val ( is the col)
3
1
2
2/ "select * from test" in mysql
result is
val
3
1
2
3/ call php-crud-api -> http://XXXXXXXXXX/records/test
result is
{
"records": [
{"val": 1},
{"val": 2},
{"val": 3}]
}
Datas are sorted !!!!
How do to no sort by the first col by default . I would like to have this :
{"records": [
{"val": 3},
{"val": 1},
{"val": 2}]}
Thx for your answer ;-)
The text was updated successfully, but these errors were encountered:
hello @mevdschee
When i call php-crud-api "http://XXXXXXXXXX/records/test", i constate that php-crud-api sort data by the first col.
I don't want sort.
How do to no sort by the first col by default ?
if this already exist, it"s possible to add in the readme ?
Example :
1/ I have for example a table "test" with this data :
val ( is the col)
3
1
2
2/ "select * from test" in mysql
result is
val
3
1
2
3/ call php-crud-api -> http://XXXXXXXXXX/records/test
result is
{
"records": [
{"val": 1},
{"val": 2},
{"val": 3}]
}
Datas are sorted !!!!
How do to no sort by the first col by default . I would like to have this :
{"records": [
{"val": 3},
{"val": 1},
{"val": 2}]}
Thx for your answer ;-)
The text was updated successfully, but these errors were encountered: