@classmethod<EOL><INDENT>@coroutine<EOL>@nt_cursor<EOL>def raw_sql(cls, cur, query: str, values: tuple):<DEDENT>
yield from cur.execute(query, values)<EOL>return (yield from cur.fetchall())<EOL>
Run a raw sql query

Args:
    query : query string to execute
    values : tuple of values to be used with the query

Returns:
    result of query as list of named tuple