[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3182: Query about commit b84c282 (Request #3125) in stable branch 3.21.6


http://gambaswiki.org/bugtracker/edit?object=BUG.3182&from=L21haW4-

Comment #3 by Omar MORENO:

Thank you for the guidance.

Regarding your suggestion to use Object.Call(), the main architectural constraint in my project is that all my global SQL wrapper functions (such as ExecX, FindX, EditX, etc.) are centrally designed to receive the parameters via the variable arguments operator (...).

Even if I were to use Param.All to dump those ... arguments into a Variant[] array and pass it to Object.Call(ConnX, "Subst", vParams), the underlying issue remains the same: the current stable implementation of Connection.Subst() in gb.db2 expects individual native primitive datatypes (like String, Integer, Date, etc.) instead of a packed Variant[] object.

Because gb.db2 in the stable branch lacks commit b84c282, it rejects the array structure passed via reflection and throws the "Unsupported datatype" error, making it impossible to forward the dynamic filters.

Thank you again for your time!

Best regards,
Omar Moreno



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----