[BUG] Documentation showing wrong syntax for SQL
icarlofer opened this issue · 0 comments
icarlofer commented
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:
- Go to https://gmousse.gitbooks.io/dataframe-js/content/doc/api/modules/sql.html
- Follow instruction on how to request
3 See error
TypeError: dataframe_js_1.default.request is not a function