09-09-2019, 05:39 PM
Hi guys, this is probably a very dum question but what can I do...
According to the documentation the Output for a query using "recordData" as the "pResultFormat" parameter is:
(Array) - If pResultFormat is "recordData":
Using the Example of the documentation
recordData Output:
# tOutputA["87654321-abcd-1234-cdef-1234567890ab"]["cdb"] - metadata
# ["firstName"] - "Jenny"
# ["lastName"] - "Smith"
# ["age"] - 46
# ["income"] - 100000
Where do I get "87654321-abcd-1234-cdef-1234567890ab" from?
Moreover let's say the query returns 4 records, how do I navigate trough each of them?
Can you please provide a complete example? Many thanks
Thanks
According to the documentation the Output for a query using "recordData" as the "pResultFormat" parameter is:
(Array) - If pResultFormat is "recordData":
- Output is an array where each key is a recordID of a record in the specified table that matches the query, with subkeys defined by the schema.
Using the Example of the documentation
recordData Output:
# tOutputA["87654321-abcd-1234-cdef-1234567890ab"]["cdb"] - metadata
# ["firstName"] - "Jenny"
# ["lastName"] - "Smith"
# ["age"] - 46
# ["income"] - 100000
Where do I get "87654321-abcd-1234-cdef-1234567890ab" from?
Moreover let's say the query returns 4 records, how do I navigate trough each of them?
Can you please provide a complete example? Many thanks
Thanks
To ";" or not to ";" that is the question