Gmousse/dataframe-js

[BUG] Documentation showing wrong syntax for SQL

icarlofer opened this issue · 0 comments

Describe the bug
https://gmousse.gitbooks.io/dataframe-js/content/doc/api/modules/sql.html
On the documentation example the syntax for SQL request is

DataFrame.request('SELECT * FROM tmp');

but upon inspecting the packaged the proper syntax is

df.sql.request(`SELECT * FROM tmp`);

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://gmousse.gitbooks.io/dataframe-js/content/doc/api/modules/sql.html
  2. Follow instruction on how to request
    3 See error
TypeError: dataframe_js_1.default.request is not a function