Skip to content

@blazetrails/mysql2 ​

The MySQL client, mirroring Ruby's mysql2 gem

MeasureValue
Rails counterpartmysql2 0.5.6
API methods matched100% (19 of 19)
Rails tests matched100% (214 of 214) (62 permanent)
Ruby files ported4
Ruby files unported0
Measured atfe89b44726

Gaps by file ​

No gaps recorded for this package.

Missing methods ​

None recorded for this package.

Unported Ruby files ​

Every compared Ruby file has a TypeScript file.

Deviation receipts ​

JSDoc receipt tags in the package's source, by the receipt each carries.

TagPERMANENTCONVERGEABLEnone
@noRailsEquivalent500
@internal0019

Permanently skipped tests ​

Runtime facts Node does not expose (8)
No section cited (15)
A String has no encoding tag either (16)

Ratified deviations ​

Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.

A String has no encoding tag either ​

str.encoding, force_encoding and String#b read or change a per-object encoding. A JS string has none, and trails adds none: the carrier that would hold it is the carrier this section rejects. ruby-compat tags a Uint8Array only. A Rails body that branches on a String's encoding ports the UTF-8 arm, and a test asserting str.encoding is permanently unportable for that assertion.

CLAUDE.md →

Runtime facts Node does not expose ​

Each of these is a Ruby or C-library fact with no Node source. They are ratified here so no port re-derives them.

CLAUDE.md →

Source ​

packages/mysql2 on GitHub →