Roy
2003-11-12 13:27:01 UTC
I'm having trouble with retrieving 2D arrays from my database(MySQL).
I have a number of clusters which all map to their own database table.
Some of these clusters contain 1D arrays and some contain 2D arrays.
Inserting a 1D array into the database is no issue (associated column
is of LONGBLOB type). Retrieving a 1D array from the database is easy
with the 'Database Data to Variant' function. Inserting a 2D array is
as easy as for a 1D array, however I can't seem to retrieve a 2D array
in the same way as for a 1D array. Any tips on how to do this would be
greatly appreciated.
I have a number of clusters which all map to their own database table.
Some of these clusters contain 1D arrays and some contain 2D arrays.
Inserting a 1D array into the database is no issue (associated column
is of LONGBLOB type). Retrieving a 1D array from the database is easy
with the 'Database Data to Variant' function. Inserting a 2D array is
as easy as for a 1D array, however I can't seem to retrieve a 2D array
in the same way as for a 1D array. Any tips on how to do this would be
greatly appreciated.