orm
Here are 3,275 public repositories matching this topic...
-
Updated
Jun 3, 2021 - TypeScript
-
Updated
Jun 4, 2021 - Go
-
Updated
May 29, 2021 - Scala
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
-
Updated
Jun 5, 2021 - Java
For example, strftime('%Y', date($date, '2 years')) can be simplifed to strftime('%Y', $date, '2 years').
(originally dotnet/efcore#24989 (comment))
-
Updated
Jun 4, 2021 - PHP
Consider the following code (using AsChangeset instead / in addition to Insertable produces the same error message):
#[derive(Insertable)]
struct Foo {
#[column_name = "type"]
ty: String
}This code is wrong because eventhough the table has a column called type, the auto-generated schema.rs file renames that to type_ to avoid using a keyword as an
-
Updated
Apr 20, 2021 - Python
-
Updated
Apr 3, 2020 - Go
-
Updated
Jun 4, 2021 - JavaScript
-
Updated
Jun 5, 2021 - Go
-
Updated
May 16, 2021 - Rust
Hello,
I use postgres 12 with “MATERIALIZED” statement,
and I once asked on Discord how to use the “MATERIALIZED” statement in go-pg,
and get that is not support now.
Expected Behavior
WITH AS MATERIALIZED (...)
-
Updated
Jun 4, 2021 - Java
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
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.
Add this topic to your repo
To associate your repository with the orm topic, visit your repo's landing page and select "manage topics."
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