Effect CommunityEC
Effect Community2y ago
3 replies
attila

Using `conn.query` in `@effect/sql-mysql2`

How would I run a sql query in @effect/sql-mysql2 as a non-prepared statement (using conn.query in mysql2)? I looked into the code and if I understand it correctly, conn.execute is the default method of executing the queries, conn.query is only used for transaction control. Is that right?
Was this page helpful?