SpiderBytes question

Just starting out? Need help? Post your questions and find answers here.
kpeters58
Posts: 19
Joined: Fri Dec 07, 2018 7:27 pm
Location: BC, Canada

SpiderBytes question

Post by kpeters58 »

I just read up on it and it seems to me that currently it cannot be used for database access as structured lists cannot be passed...

Is that a valid assessment or did I miss something?

Thanks!
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: SpiderBytes question

Post by Peter »

// Edit: I misunderstood this at first. Here is my revised answer:
kpeters58 wrote:I just read up on it and it seems to me that currently it cannot be used for database access as structured lists cannot be passed...
Yes, you are right: you can only pass simple data types like numbers or strings.

However, you can convert your structured list into a JSON-String (InsertJSON...()) and then convert it back into a list on the server side (ExtractJSON...()).

Greetings ... Peter
kpeters58
Posts: 19
Joined: Fri Dec 07, 2018 7:27 pm
Location: BC, Canada

Re: SpiderBytes question

Post by kpeters58 »

Thanks for the quick reply! I was more worried about having to maintain compatible structures on 'both sides'...
Post Reply