Skip to content

Null Reference for "getInsertRecordFunc" #2

@aphex

Description

@aphex

I would have grabbed your repo and sent a pull request but i saw your having trouble merging it in. So i figured i would just write the fix here since it is super simple.

Line: 584
File: SqliteStorage.js

Currently: me.getInsertRecordFunc(record, tablename)();
Fix: me.getInsertRecordFunc(record, tablename)(tx);

Need to pass the transaction into the function. Works like a charm now :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions