You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Prior to Release 3.3.0 of the Titanium SDK, note that fieldCount is exposed as a method on iOS, but as a property on Android. Blackberry supported it both as a property and a method. Starting from Release 3.3.0 of the Titanium SDK, fieldCount is supported only as a read only property."
(Excerpt from http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.Database.ResultSet)
Therefore using 3.3.0 of Titanium SDK or higher, when trying to perform a select on iOS you will get the error: '' is not a function (evaluating 'rows.fieldCount()'...
This is due to line 586 in joli.js
fieldCount = rows.fieldCount();
Since this is now a property in iOS, the surrounding logic can be condensed to something like :
var fieldCount = rows.fieldCount;
Hope this helps...
Keep up the good work! I love joli.js!
The text was updated successfully, but these errors were encountered:
"Prior to Release 3.3.0 of the Titanium SDK, note that fieldCount is exposed as a method on iOS, but as a property on Android. Blackberry supported it both as a property and a method. Starting from Release 3.3.0 of the Titanium SDK, fieldCount is supported only as a read only property."
(Excerpt from http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.Database.ResultSet)
Therefore using 3.3.0 of Titanium SDK or higher, when trying to perform a select on iOS you will get the error: '' is not a function (evaluating 'rows.fieldCount()'...
This is due to line 586 in joli.js
fieldCount = rows.fieldCount();
Since this is now a property in iOS, the surrounding logic can be condensed to something like :
var fieldCount = rows.fieldCount;
Hope this helps...
Keep up the good work! I love joli.js!
The text was updated successfully, but these errors were encountered: