Returning Arrays from Smart Contracts to Web3

Does anybody has any recommended practices of returning arrays from Solidity to Web3?
It appears that Solidity does not support returning arrays from functions; I’ve searched online and it has come to my attention (from what I have experience, I might be wrong though) that this is not general practice. Are such operations not meant to be done with solidity, and more with database operations? Please excuse my ignorance in the subject, as I’m still relatively new to solidity.

Solidity does not yet support returning two levels of dynamic arrays. You can return arrays but not arrays of strings.

See this https://ethereum.stackexchange.com/questions/17312/solidity-can-you-return-dynamic-arrays-in-a-function

2 Likes