Gmousse / dataframe-js

No Maintenance Intended
https://gmousse.gitbooks.io/dataframe-js/
MIT License
460 stars 38 forks source link

[BUG] Documentation showing wrong syntax for SQL #139

Open icarlofer opened 1 year ago

icarlofer commented 1 year ago

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