I've a requirement to perform a join operation in SQL with two foreign keys on same table. The answer in below post has the SQL for my requirement.
Join On Two Foreign Keys From Same Table In Sql
I am trying to convert this query into Medoo syntax, but I don't get the desired output. Code posted below is my latest effort which doesn't work.
$db -> select( "item_tbl", [ "[>]user_tbl.id" => ["ownerId", "lastModifiedById"] ], ["username", "username", "itemName"]);
Could somebody please help?