[TIMOB-20190] Titanium.Database.ResultSet.fieldName([index]) is not returning the correct value
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-01-07T15:47:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.3.0 |
Components | Windows |
Labels | n/a |
Reporter | Kai Lu |
Assignee | Christopher Williams |
Created | 2016-01-04T13:43:01.000+0000 |
Updated | 2016-05-24T20:00:17.000+0000 |
Description
On windows phone the database resultset.fieldName(index) returns 0,1 or NULL or field values instead of the field name from the search criteria.
To be noted that I set fieldName as aliasName in the query string.
for example: select name as full_name from contacts;
Verified using: Windows 10 Pro Visual Studio 2015 Community Update 2 Appc Core: 5.3.0-46 Appc NPM: 4.2.5-5 Ti SDK: 5.3.0.v20160523083840 Lumia 520 8.1, Lumia 930 10.0 Titanium.Database.ResultSet.fieldName([index]) now returns the expected value of the fields name rather than the fields values Closing ticket