Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is defaultTableRef null when more than one tables are present? #278

Open
W1nstar opened this issue May 18, 2020 · 0 comments
Open

Why is defaultTableRef null when more than one tables are present? #278

W1nstar opened this issue May 18, 2020 · 0 comments

Comments

@W1nstar
Copy link

W1nstar commented May 18, 2020

I'm having issues trying to read a catalog with more than one table, using the fill function. For some reason, it needs me to specify the tableRef. I don't know wich one it is, and it wouldn't be good for me to hardcode on my app the name of a table that might change later.

I thought _defaultTableRef would hold a reference to it, but is null. Theres this piece of code nulling it:

JSDO/src/progress.js

Lines 2278 to 2279 in 319202b

if (this._numBuffers != 1)
this._defaultTableRef = null;

    if (this._numBuffers != 1)
        this._defaultTableRef = null;

Should defaultTableRef be null if there's more than one table for some "background" reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant