Skip to content
This repository was archived by the owner on Oct 5, 2024. It is now read-only.
This repository was archived by the owner on Oct 5, 2024. It is now read-only.

Model 'save' cannot be used like the doc says #6

@ooXavier

Description

@ooXavier
var user = new User('John', 'john@test.com');
user.save((err) => {
    // callback
});

This code (from the doc) does not work.
Should be written :

User.save(user, (err) => {
    // callback
});

Could you add, the orginal way in Waterline and maybe upgrade to 0.10.x as it's a little bit different from 0.9.x

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