Hi,
I have an existing function which is filteringaccounts based in some date and then mapping it to a dataset.
Now i have to filter accounts based on another condition of type of accounts to be considered.
Existing function
def getAccounts(s:[Trans],businessDate): [Stats] = {
s.filter(businessDate).map(_stats)
}
Now i have to add another condition to filter accounts based on some condition account starting with letter 1.
So can i do this by applying another filter in the above function.
Thanks,