How use "Long" type in an MongoDB schema declaration?
<p>I guess it's a stupid question but i would like do something like this</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var mongoose = require('mongoose');
var Long = require("long");
 
 var UserSchema = new mongoose.Schema({
  id: Long(),
  name: String,
  completed: Long(),
  note: String,
  updated_at: { type: Date, default: Date.now },
 });</code></pre>
</div>
</div>
</p>

<p>But it's not working,"cannot set 'low' property". I know that cause I do not pass arguments in the "Long" constructor but it's not working iven if I don't put the "()". I'm a bit lost with that ^^'</p>

<p>Sorry for my english ^^'</p>