Skip to content
This repository was archived by the owner on Jun 25, 2026. It is now read-only.
This repository was archived by the owner on Jun 25, 2026. It is now read-only.

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

Description

@W1nstar

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions