B4A:
B4i:
B4J:
After SQL 1.3 android.database.Cursor casts to ResultSet, but StringArgs is still
and we have to have separate code resolved in common source with help of #If ...
B4A:
I propose to make Args As Object in B4J, B4A for ExecQuery2, ExecNonQuery2, ExecQueryAsync, ExecQuerySingleResult2, ...
It will provide back compatibility with existing code, and allow to eliminate #If ...
B4X:
ExecQuery2 (QueryAsString, StringArgs() AsString) As android.database.Cursor
B4i:
B4X:
ExecQuery2 (Query As String, Args As Object) As ResultSet
B4J:
B4X:
ExecQuery2 (Query As String, Args As List) As ResultSet
After SQL 1.3 android.database.Cursor casts to ResultSet, but StringArgs is still
B4X:
() As String
B4A:
B4X:
#If B4A
sql1.ExecQuery2("SELECT col1 FROM table1 WHERE col3 = ?", Array As String(22))
#Else
sql1.ExecQuery2("SELECT col1 FROM table1 WHERE col3 = ?", Array(22))
#End If
I propose to make Args As Object in B4J, B4A for ExecQuery2, ExecNonQuery2, ExecQueryAsync, ExecQuerySingleResult2, ...
It will provide back compatibility with existing code, and allow to eliminate #If ...