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

Update selected fields error #94

Closed
zalomea opened this issue Mar 1, 2017 · 1 comment
Closed

Update selected fields error #94

zalomea opened this issue Mar 1, 2017 · 1 comment

Comments

@zalomea
Copy link

zalomea commented Mar 1, 2017

Steps to reproduce

When you call an update method without all the table columns values.

service.update(data.id, {password: hook.data.password.toUpperCase()})
        .then(response => resolve(hook))
        .catch(error => reject(error));

Expected behavior

It should update only the password field.

Actual behavior

It sets other fields to NULL.

System configuration

Using oracledb.

@zalomea
Copy link
Author

zalomea commented Mar 1, 2017

This is the patch functionality.

@zalomea zalomea closed this as completed Mar 1, 2017
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