Closed raindy29 closed 4 years ago
Blank characters are automatically added when use character type field,How to remove space
{ "data": [ { "comp_no": "A ", "plat_no": "01 ", "pay1": "cash", ....
{ "data": [ { "comp_no": "A", "plat_no": "01", "pay1": "cash", ....
return $this->response->array($response)->setStatusCode(200);
Hi
This is definitely not a Dingo problem, it would be more to do with your DB layer of your application, potentially the driver you are using (eg. mysqli vs mysqlnd)
Actual Behaviour
Blank characters are automatically added when use character type field,How to remove space
{ "data": [ { "comp_no": "A ", "plat_no": "01 ", "pay1": "cash", ....
Expected Behaviour
{ "data": [ { "comp_no": "A", "plat_no": "01", "pay1": "cash", ....
Steps to Reproduce
return $this->response->array($response)->setStatusCode(200);
Possible Solutions