Implement interpreter for mikro-orm
See original GitHub issue- this interpreter should be part of a new package
@ucast/mikro-orm
(put it inpackages/mikro-orm
) - it should support the same operators as js interpreter from
@ucast/js
(the most complex is$elemMatch
) - it should allow to pass custom operators
- it should use
createInterpreter
function from@ucast/core
to createinterpret
function - the return value of
interpret
function is a query builder - it should take initial query builder as an argument
- when it finds
condition.field
with dots inside it’s a hint that this property may be a relation to another table. Using mikro-orm API we should be able to understand and if a field construct query for JSON field and if it’s a relation addINNER JOIN
+ where conditions
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (11 by maintainers)
Top Results From Across the Web
Working with Entity Manager - MikroORM
Persist determines whether to use insert or update and computes appropriate change-set. ... use constructors in our entities for required parameters
Read more >Configuration - MikroORM
By default, ReflectMetadataProvider is used that leverages the reflect-metadata . You can also use TsMorphMetadataProvider by installing @mikro-orm/reflection .
Read more >Installation & Usage | MikroORM
First install the module via yarn or npm and do not forget to install the.
Read more >Quick Start - MikroORM
To do so, use the RequestContext helper: const app = express(); app.use((req, res, next) => { RequestContext.create(orm.em, next); } ...
Read more >Does anyone knows how to create dates with mikro orm to ...
Does anyone knows how to create dates with mikro orm to postgres, I am getting invalid token 08-. import { Entity, PrimaryKey ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can take a stab at this.
close in favor of #8