Yes, Redash sends the query as is to the database. It currently supports PostgreSQL (& Redshift), MySQL, BigQuery, MongoDB, Graphite and Python scripts. Also someone currently working on ElasticSearch support.
The MonogDB & Graphite support is crude, but exists.
I'm the project maintainer, feel free to ask if you have any questions.