I use solidity with web3.js and know that we actually cannot return the whole struct array, but I would like to know if it is possible to return only a type in the struct as an array.
Lets say i have the following struct:
struct aStruct {
bytes8 a;
bytes8 b;
}
aStruct[10000] aStr;
Can I now make a function, where I return aStr.a, the whole "a" as an array?