Hi,
I'm new in Solidity and I would like to return an array from a function.
I have a mapping mapping (address => MyStruct[]) repository;
and I would like to return the MyStruct[] given an address.
What is the best way to do it in terms of efficiency/gas costs?
0 ·