The SQLExpression class is accessible via the sqlapi.sql module.
See the source for more information.