{ "id": "119911", "key": "TIMOB-15196", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-16T23:47:13.000+0000", "created": "2013-09-13T13:59:02.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "blackberry", "database", "resultset" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-13T20:58:14.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Titanium.Database.ResultSet.fieldName([index]) is not implemented.", "attachment": [], "flagged": false, "summary": "BlackBerry: Titanium.Database.ResultSet.fieldName([index]) is not implemented.", "creator": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti SDK 3.1.3v20130912171547", "comment": { "comments": [ { "id": "271288", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/173\r\n\r\nCode to test:\r\n{code}\r\n\r\nvar win = Titanium.UI.createWindow({\r\n title : 'Test Window'\r\n});\r\n\r\nwin.open();\r\n\r\nvar db = Ti.Database.open('my_db');\r\ndb.execute('CREATE TABLE IF NOT EXISTS people (name TEXT, phone_number TEXT, city TEXT)');\r\ndb.execute('DELETE FROM people');\r\n\r\nvar thisName = 'Arthur';\r\nvar thisPhoneNo = '1-617-000-0000';\r\nvar thisCity = 'Mountain View';\r\ndb.execute('INSERT INTO people (name, phone_number, city) VALUES (?, ?, ?)', thisName, thisPhoneNo, thisCity);\r\n\r\nvar personArray = ['Paul','020 7000 0000', 'London'];\r\ndb.execute('INSERT INTO people (name, phone_number, city) VALUES (?, ?, ?)', personArray);\r\nvar rows = db.execute('SELECT * FROM people');\r\n\r\n// Should alert \"phone_number\"\r\nalert(rows.fieldName(1));\r\n\r\ndb.close();\r\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T15:52:44.000+0000", "updated": "2013-09-16T15:52:44.000+0000" }, { "id": "411529", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-13T20:58:14.000+0000", "updated": "2017-03-13T20:58:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }