Skip to content

Can't db.insert() #38

@AndrewRayCode

Description

@AndrewRayCode

https://github.com/db-migrate/pg/blob/master/index.js#L564-L566

    arguments[index] = arguments[index].map(function (value) {
      return typeof value === 'string' ? value : JSON.stringify(value);
    });

What is this function doing? db-migrate#insert doesn't do anything with de-stringifying json

https://github.com/db-migrate/db-migrate-base/blob/7af3f80bad7fa5c64509a4435cce68891403c0d1/index.js#L339


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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