Comments (5)
I am using integer fields successfully in two meteor projects right now, I haven't noticed anything getting dropped. Specifically, I'm using integers to maintain the order in a couple collections.
slides.meteor.com
touring.meteor.com
from meteor.
BSON has integer and number/double ("double precision floating-point format in JavaScript, generally depends on implementation"), maybe the difference comes from there? From the NOTEs file:
"Only the basic JSON types are implemented (string, number, boolean, null, array, object)."
and
"we don't support the integer type yet"
If that helps, it's an int() added to the DB by a Python script (pymongo) that caused the problem for me.
from meteor.
Interesting, my mistake, I'm probably just using numbers
that look like integers.
from meteor.
Would be nice to output a warning if possible (which is why I'm marking this as "unconfirmed-bug").
Also, touching upon this somewhere in http://docs.meteor.com/ would be helpful.
from meteor.
Numbers in general do work in Meteor. There might be a more specific issue here (conversion to some special Mongo type? the "length" name being strange?). If you have a specific reproduction recipe (see https://github.com/meteor/meteor/wiki#wiki-bugs ) please re-open.
from meteor.
Related Issues (20)
- CoffeeScript/Babel turning classes into functions on Cordova/Desktop HOT 1
- Problem importing packages on meteor 3.0-beta.7 HOT 16
- Google Maps JS API will stop working in Cordova in May for iOS+Android HOT 3
- [ Meteor v3 ] - Error in OAuth Server: findOne
- [v3.0-beta.7] Cannot create project or update meteor to v3 error: Command failed: HOT 2
- [Meteor 3] WebApp.addRuntimeConfigHook is broken HOT 1
- [3.0] error on boot.js TypeError: next.runImage.call is not a function HOT 6
- [3.0-rc.0] error on boot.js TypeError: next.runImage.call is not a function HOT 2
- Unable to create new meteor 3 projects HOT 2
- why am i getting this isses, please someone help. FormData { file name → {} } HOT 2
- Idle Crash in Development Mode
- Meteor 3 Migration Guide Feedback
- [Meteor 3] Tinytest major version increased HOT 2
- [Meteor 3] Environment Variables resets value too early HOT 2
- [Meteor 3] EnvironmentVariable.withValue has different return value on client and server
- [Meteor 3] SyntaxError: Unexpected token 'export'
- bundle-visualizer not working with Meteor 3
- Login and CreateUser method send back the added message without fully fields HOT 1
- Meteor3 - MultiFileCachingCompiler does not set up its internal LRU cache correctly HOT 4
- Allow-deny package does not parse MongoServerError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor.