Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/mysql2/deps.ts>Socket#read

MySQL client for Deno with focus on performance. Supports prepared statements, non-utf8 encodings, binary log protocol, compression much more
Latest
method Socket.prototype.read
import { Socket } from "https://deno.land/x/mysql2@v1.0.6/deps.ts";

Parameters

optional
size: number

Optional argument to specify how much data to read.

Returns

| string
| Uint8Array
| null
| undefined