Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Db.runQuery

Db.runQuery($sql) -> object

Description

Run a raw SQL query.

This is only recommended if the other Db methods do not cover your current use case.

Returns a wrapped instance of PDOStatement (PHP).

Db.runQuery(sql'TRUNCATE users')