tyrchen / geektime-rust

我的极客时间 Rust 课程的代码仓库,随课程更新

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

06_queryer执行报错queryer-js

meilihao opened this issue · comments

按README.md:

const q = require('.');
const sql = const sql = q.example_sql()
console.log(q.query(sql)); // 报`Uncaught TypeError: not enough arguments`

改用console.log(q.query(sql,"csv"))正常.