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

omitNull omit undefined values and null values #2352

Closed
OlivierCuyp opened this issue Sep 25, 2014 · 3 comments
Closed

omitNull omit undefined values and null values #2352

OlivierCuyp opened this issue Sep 25, 2014 · 3 comments

Comments

@OlivierCuyp
Copy link

Reading the doc for the omitNull :

  // disable inserting undefined values as NULL
  // - default: false
  omitNull: true,

I thought it wouldn't skip null values but only undefined values.
It actually skipped both.

Now I don't know which one form the doc or the feature has the issue...

@mickhansen
Copy link
Contributor

omitNull was a dirty hack, there are better ways to solve it now.

@jtraband
Copy link

... ??? so does this mean we should no longer use omitNull?

@mickhansen
Copy link
Contributor

@jtraband No real reason to use it as far as i can see. What's your usecase?

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

3 participants