What to use instead of joinRaw in anticipation of 7.9 removing the method?

As mentioned in the release notes for 7.7.1  SugarQuery::joinRaw() has been deprecated.

The method is still in the 7.8 Documentation:

http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.8/Data_Framework/Database/SugarQuery/A… 

But the blog Use of prepared statements in Sugar 7.9 « Sugar Developer Blog – SugarCRM in "Things to watch out for in 7.9" states that SugarQuery::joinRaw has been removed.

Using as an example from Shane Dowling's blog:

Shane Dowling – SugarCRM 7 - Custom subpanels 

How would you recommend going about replacing the JoinRaw used in 

public function buildJoinSugarQuery

thanks,

FrancescaS