cloudflare / cloudflare/worker-template-mysql

Warning: This case clause will never be evaluated [duplicate-case]

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
60
Forks
14
PR merge metrics
No merged PRs in 30d

Description

In driver/mysql/index.js
in function convertType the switch statement for field type has 18 twice.
first 18 returns parseFloat(val);
second 18 returns new Date(val);

For now I have commented out the second one. Which is supposed to be?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.