mysql
mysql copied to clipboard
MySQL driver for Deno
Hi! I really appreciate the work you have put into this library! When automating queries it's not always possible to know if a request will be a query or an...
The following code snippet does not raise any error when the MySQL server is not running or if it refuses the connection. ```ts try { const db = await new...
Your examples are so small... I have no idea how to execute an UPDATE query with a WHERE clause. It keeps thinking field values are field names. No documentation anywhere...
When trying to plug in a custom logger from `std/log` this error happens. ```typescript function logger() { return log.getLogger("db"); } await mysql.configLogger({logger:logger()}); ``` ``` error: TS2322 [ERROR]: Type 'import("https://deno.land/[email protected]/log/logger.ts").Logger' is...
Task requirement: to sync mySQL table into PostgreSQL table for every 6 hours in daily Issue: Show connection read timeout error every time Solutions that have applied: 1. Suspect the...
```javascript var s_query_create_table1 = ` CREATE TABLE users ( id int(11) NOT NULL AUTO_INCREMENT, name varchar(100) NOT NULL, created_at timestamp not null default current_timestamp, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT...
I am calling stored procedure using mysql client and I am getting responses on every second request. Please check below code and response. ``` import { Client } from "https://deno.land/x/[email protected]/mod.ts";...
i have the following users setup in my mysql db ``` select * from mysql.user; ``` ``` +-----------+------------------ | Host | User +-----------+------------------ | localhost | debian-sys-maint | localhost |...
At the moment it seems .query() returns type any, but it would be nice if I could pass in a generic to say what type will be returned from it....
Relates to #167 Refactores the MySQL client to conform to the [SQLx interfaces](https://github.com/halvardssm/deno-sqlx/pull/1). This introduces a breaking change to the usage, and should come with a breaking change release. The...