Hi,
I have a database in my B4J app. In this database I have a table which contains approx. 1200 columns.
Each row will be a users account.
For Example:
item1 item 2 item 3 .... item1200
Row1 name1 name2 name3 Name1200
Row2 nameA nameB nameC NameXYZ
My B4i/B4A app will need to get the users row sent to it.
For example, The B4i/B4A app will send a command using WebSockets and ask to return the whole row for that user (Row1).
I was going to poll each column for that user and send one at a time, but this would take some time.
I then was going to create a JSON message containing each column for that user, (not sure if this is going to be big for a JSON message?)
I then thought of maybe saving the data as a XML file then getting the B4A/B4i to request that XML file.
Anyone else got an idea on how to send this one column to the user ?
I don't want to copy the whole database since it contains other users data, and only want to send 1 row only.
I have a database in my B4J app. In this database I have a table which contains approx. 1200 columns.
Each row will be a users account.
For Example:
item1 item 2 item 3 .... item1200
Row1 name1 name2 name3 Name1200
Row2 nameA nameB nameC NameXYZ
My B4i/B4A app will need to get the users row sent to it.
For example, The B4i/B4A app will send a command using WebSockets and ask to return the whole row for that user (Row1).
I was going to poll each column for that user and send one at a time, but this would take some time.
I then was going to create a JSON message containing each column for that user, (not sure if this is going to be big for a JSON message?)
I then thought of maybe saving the data as a XML file then getting the B4A/B4i to request that XML file.
Anyone else got an idea on how to send this one column to the user ?
I don't want to copy the whole database since it contains other users data, and only want to send 1 row only.