It looks like you're new here. If you want to get involved, click one of these buttons!
public function OldGetID(){
Gdn::Database()->DatabasePrefix = 'olddb.oldprefix_';
$Result = $this->SQL
->Select()
->From('old_table t1')
->Join('old_table2 t2')
->Get();
Gdn::Database()->DatabasePrefix = Gdn::Config('Database.DatabasePrefix');
return $Result;
}
Comments