-
-
Notifications
You must be signed in to change notification settings - Fork 611
Comparing changes
Open a pull request
base repository: mikro-orm/mikro-orm
base: v4.4.1
head repository: mikro-orm/mikro-orm
compare: v4.4.2
- 10 commits
- 57 files changed
- 3 contributors
Commits on Feb 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4b83052 - Browse repository at this point
Copy the full SHA 4b83052View commit details -
chore(deps): update dependency @docusaurus/preset-classic to v2.0.0-a…
…lpha.fd17476c3 (#1377) Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 28db27a - Browse repository at this point
Copy the full SHA 28db27aView commit details
Commits on Feb 2, 2021
-
chore(deps): update mstruebing/editorconfig-checker docker tag to v2.…
…3.3 (#1378) Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for 7b8e37b - Browse repository at this point
Copy the full SHA 7b8e37bView commit details -
feat(core): allow querying by JSON properties (#1384)
We can query by JSON object properties easily: ```ts const b = await em.findOne(Book, { meta: { valid: true, nested: { foo: '123', bar: 321, deep: { baz: 59, qux: false, }, }, }, }); ``` Will produce following query (in postgres): ```sql select "e0".* from "book" as "e0" where ("meta"->>'valid')::bool = true and "meta"->'nested'->>'foo' = '123' and ("meta"->'nested'->>'bar')::float8 = 321 and ("meta"->'nested'->'deep'->>'baz')::float8 = 59 and ("meta"->'nested'->'deep'->>'qux')::bool = false limit 1 ``` > All drivers are currently supported (including sqlite and mongo). In postgres we > also try to cast the value if we detect number or boolean on the right-hand side. Closes #1359 Related: #1261Configuration menu - View commit details
-
Copy full SHA for 69c2493 - Browse repository at this point
Copy the full SHA 69c2493View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab79972 - Browse repository at this point
Copy the full SHA ab79972View commit details -
chore(deps): update dependency mongodb to v3.6.4 (#1387)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Configuration menu - View commit details
-
Copy full SHA for cdb7e2b - Browse repository at this point
Copy the full SHA cdb7e2bView commit details
Commits on Feb 3, 2021
-
feat(core): allow using SQL expressions with custom types (#1389)
Adds two methods to the custom type interface that allows to adjust the SQL fragment used to select or update the value. Example usage: ```ts export class PointType extends Type<Point, string> { convertToDatabaseValue(value: Point): string { return `point(${value.latitude} ${value.longitude})`; } convertToJSValue(value: string): Point { const m = value.match(/point\((\d+(\.\d+)?) (\d+(\.\d+)?)\)/i); return new Point(+m[1], +m[3]); } convertToJSValueSQL(key: string) { return `ST_AsText(${key})`; } convertToDatabaseValueSQL(key: string) { return `ST_PointFromText(${key})`; } getColumnType(): string { return 'point'; } } ``` Closes #735Configuration menu - View commit details
-
Copy full SHA for 83fe6ea - Browse repository at this point
Copy the full SHA 83fe6eaView commit details
Commits on Feb 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5b2d4e4 - Browse repository at this point
Copy the full SHA 5b2d4e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f55c731 - Browse repository at this point
Copy the full SHA f55c731View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d4c82f - Browse repository at this point
Copy the full SHA 6d4c82fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.4.1...v4.4.2