Skip to content
#

orm

Here are 3,275 public repositories matching this topic...

MarkMurphy
MarkMurphy commented May 26, 2021

Issue Description

What was unclear/insufficient/not covered in the documentation

TypeScript complains about $nested.column$ syntax in query where clause. Because the where clause is typed as needing to be attributes of the model being queried, this syntax triggers an error since these object keys are not attributes of the model.

If possible: Provide some suggestion on how we

prisma
jasonkuhrt
jasonkuhrt commented Feb 6, 2021

I am intentionally making this issue specific but I assume it could be expanded to include much more of the API.

Problem

I do not have the entire Prisma Client API perfectly (let alone roughly) committed to memory.

When I go to use it to query for many results the operations tell me nothing about what and why they will do. I only have types to work with.

I don't want to open my br

mikro-orm
jasonwilson
jasonwilson commented May 4, 2021

Is your feature request related to a problem? Please describe.
In trying to setup a new database from an initial migration I realized there's no way to create a new database from scratch. Is that accurate?

Describe the solution you'd like
Something akin to rake db:init or rake db:create where mikro-orm will take the runtime config and create a new database if it doesn't exist

rgazelot
rgazelot commented Jan 6, 2021

Hello, I'm trying to type my application which is using redux-orm. I came across an issue with the new createSelector API. My code is as simple as:

import { createSelector } from 'redux-orm'
import orm from 'features/regulation/orm'

export const selectTest = createSelector(orm.Policy)

The error I get is that

Expected 2-9 arguments, but got 1.ts(2554)
redux.d.ts(87, 

Improve this page

Add a description, image, and links to the orm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the orm topic, visit your repo's landing page and select "manage topics."

Learn more