Modified to use new __toString magic function to get raw sql instead of the sql() method
Modified to use new __toString magic function to get raw sql instead of the sql() method

duzun/PluSQL,iaindooley/PluSQL