* Kind of ugly; but needed to adapt fn find_direct_children_accounts to also...
* Kind of ugly; but needed to adapt fn find_direct_children_accounts to also match lines that have extra double quotes inside the parent column ** For that; since it seems sea-orm does the `eq` part on string values; the only way I could find is to allow any of those checks *** original "parent" eq address as DbAccountId (sea-orm converts address' DbAccountId to a clean string that doesn't have the extra double quotes) *** extra "parent" eq `format!("\"{}\"",current_account.address.to_string())` for the cases where the DB got incorrect values
Loading
Please register or sign in to comment