Comments (2)
Ok, this is really weird, but BigInt(999999999999999000)
actually does resolve to 999999999999998976n
![image](https://private-user-images.githubusercontent.com/615580/341862147-41c12e80-d26f-4948-8914-ccb9959820f0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0NDU0OTQsIm5iZiI6MTcxOTQ0NTE5NCwicGF0aCI6Ii82MTU1ODAvMzQxODYyMTQ3LTQxYzEyZTgwLWQyNmYtNDk0OC04OTE0LWNjYjk5NTk4MjBmMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNlQyMzM5NTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mMTgzMGUxOTVhOWZkMzJhNDk2ODNmZTgzMTk2ZmRhZWQ4Mzk3NGNlNjhhMmFhMDg1NjhjNGRjNjk5MzA5YmQyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.SHGw_Ig6z5-PHE0RiLl8swJIKa_JpUVTFuLSmpZGmaw)
But we can get around that by converting to string first.
![image](https://private-user-images.githubusercontent.com/615580/341862272-a604a101-6963-413b-978c-0862cdc1b3e3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0NDU0OTQsIm5iZiI6MTcxOTQ0NTE5NCwicGF0aCI6Ii82MTU1ODAvMzQxODYyMjcyLWE2MDRhMTAxLTY5NjMtNDEzYi05NzhjLTA4NjJjZGMxYjNlMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjI2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyNlQyMzM5NTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZjUzMjdkZWMyYjk2YTg0YjE5NDlkZTQ0OGQ4ZmIyYjE1YmNmMDk0ZWVlMmRlYzBlNzQ2NDEzMjMxZjczMGVmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.gEf988djoeNqrFRkfJzsfu72Li2FzZJOtOGuiVKZq5M)
from mikro-orm.
damn, thanks for the fast response :)
from mikro-orm.
Related Issues (20)
- em.upsert does not return or update entites already stored inside the entity manager
- Broken migration in 6.2.9 ?
- Table alias in Property formula not escaped correctly HOT 1
- Order of SQL parameters when using QueryBuilder with raw helper is not correct HOT 2
- tsserver performance issues caused by core imports HOT 3
- Correctly build where query for getSingleResult QueryBuilder method HOT 2
- ConstructorParams in metadata are not discovered correctly HOT 1
- Error when upserting null value for a nullable embeddable array property
- TypeError: undefined is not an object (evaluating 'previous.stack.split')
- Unable to Customize TypeScript Naming Strategy for Entities that are auto generated
- Error when batch updating null value for a nullable embeddable array property
- Issue with Generated Query When Using raw() Function in SQLite
- Index Creation Query is Generated Twice When Using Schema Generator in SQLite Driver Environment HOT 1
- Upsert entity with relation.
- @Property() with a name starting with __ are not included by default if no serialization groups are specified
- Issues with bidirectionalRelations Generation in Entity Models HOT 2
- Schema Generator always generates diff for vector(N) type HOT 4
- Postgres `session_replication_role` results in migration failure
- Please provide either 'type' or 'entity' attribute in Customer.id
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 mikro-orm.