Closed enlazoCtrl closed 5 months ago
@enlazoCtrl Yes, it is expected behavior since start. ibm_db returns date, time and timestamp column values as string. Check the test file https://github.com/ibmdb/node-ibm_db/blob/master/test/test-all-data-types.js#L22. Thanks.
I'm trying to ask for a date type data to manage dates in the app but the database is returning string type. Is that a normal behaviour? I've created a test enviroment to prove it with the lastest version -> "ibm_db": "^3.2.3" Using Node -> v16.19.1 Typescript -> "typescript": "^5.0.0" Informix -> v12.10.0
The expected behaviour is that if I ask for date type data to avialable to display date methods with the answer like so:
Test code ->