Open a-gorbunov opened 8 years ago
@mathiasrw @a-gorbunov
I gave this a go and solved it partially by:
2.in src/420from.js compileFrom: Fiddle with the source.datafn logic if ( tq instanceof yy.Table ).
This solves the issue as reported.
However, neither selecting from the view nor the source table works after detaching and reattaching to the db. This is true even if i stash my changes....
I'm happy to supply a pull request with a test case and my changes. However I am unsure of how to do it. (I cloned the repo so I have made my changes to the develop branch....). Should I create a new branch and the push it to origin and then create the pull request?
@positively4th You are awesome. Thank you!
I will find out the best way to proceed and get back to you as soon as possible.
@positively4th
The best way is to:
vim .git/config
and change github.com/agershun/alasql
to github.com/positively4th/alasql
git pull
(and fix the merge if any)git push
Thank you!
I have update https://github.com/agershun/alasql/blob/develop/.github/CONTRIBUTING.md as it was missing information about the forking part
@mathiasrw
Created a PR with new test case and my trial and error fixes. Hope it helps.
Thank you so much.
Input:
Bug:
But if view is created not in localStorage database - everything works right:
Sorry, have no time to create JS file with that code. :)