/mongoose-int32

Mongoose type for storing MongoDB int32 (bson type 16)

Primary LanguageJavaScriptApache License 2.0Apache-2.0

mongoose-int32

Mongoose type for storing MongoDB int32 (bson type 16)

Build Status

Usage

Requires mongoose >= 4.4.0. Do not use with mongoose 3.x.

const mongoose = require("mongoose");
const Int32 = require("mongoose-int32").loadType(mongoose);