title: Check constraint in MongoDb
body: <p>Is it possible in MongoDb to add a check constraint that a value should be in a range? Like in SQL you would say </p>
  
  <p>ALTER TABLE GpsData ADD CONSTRAINT CK_X_not_0 CHECK (X &lt;> 0)</p>