[TIMOB-1982] ResultSet fieldByName method only returns strings
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-08-21T16:39:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | android |
Reporter | Paul Dowsett |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:07:10.000+0000 |
Updated | 2017-03-14T05:23:57.000+0000 |
Description
This is more of a feature request and, according to Don, it only affects Android. However, it's quite an inconvenience.
Currently, any numeric data output from fieldByName must be
wrapped in parseInt or parseFloat to obtain usable data, which
makes the code unnecessarily verbose.
According to Don, "on Android they didn't implement getObject() so we can't get the raw type". His proposed solution is for Titanium to provide methods for each datatype so that the output data can be used directly.
No test case provided, ticket marked as invalid.
Please reopen this ticket if you can reproduce this issue with a more recent release.
Closing ticket as invalid.