orm
Here are 2,957 public repositories matching this topic...
-
Updated
Nov 27, 2020 - TypeScript
-
Updated
Nov 27, 2020 - Go
-
Updated
Nov 18, 2020 - Scala
-
Updated
Nov 24, 2020 - Java
EF Core uses a class Migration, and if you add a new migration with name "Migration" it will break the build.
dotnet ef migrations add Migration
results with Circular base class dependency involving 'Migration' and 'Migration'
I recommend that "migrations add" adds a validation for this...
Include stack traces
Migrations/20201106105308_Migration.cs(6,26): error CS0146: Circul
-
Updated
Nov 27, 2020 - PHP
-
Updated
Aug 12, 2020 - Python
-
Updated
Apr 3, 2020 - Go
#2549 introduced the allow_columns_to_appear_in_same_group_by_clause!
macro that allows you to use more than one column in your group by clause. It opted not to generate a call to this macro for all columns in the schema via diesel print-schema
due to compile time concerns.
I would like to see some experimentation and some concert numbers for the actual compile time impact of this. As I thi
-
Updated
Sep 22, 2020 - JavaScript
I ran into this when trying to index the id field of all my schemas, which was derived from a base mixin.
I am getting entc/gen: invalid index for schema "User": unknown index field "id"
for that field, even though I know it exists and so does the database.
I tested, and this is present when the id
field is not provided (default), when it is explicitly defined in the schema, and when it
go-pg doesn't follow any fixed constraint name conventions.
type TestAccess struct {
Id string `pg:"type:uuid,default:uuid_generate_v4()" json:"id"`
BatchId string `pg:"type:uuid,on_delete:CASCADE,unique:batch_id_test_id" json:"batch_id,omitempty"`
Batch *Batch `json:"batch,omitempty"`
StudentId string `pg:"type:uuid,on_delete:CASCADE" json:"student_id,omitempt
-
Updated
Nov 26, 2020 - Rust
-
Updated
Nov 26, 2020 - Java
what is prefer way to add relation and remove relation? I found example as below, but I did't find any document about the two methods.
case 'ADD_AUTHOR_TO_BOOK':
Book.withId(action.payload.bookId).authors.add(action.payload.author); // add new entity , add relation? this doesn't work.
break;
case 'REMOVE_AUTHOR_FROM_BOOK':
Book.withId(action.payload.bo
-
Updated
Nov 24, 2020 - Ruby
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
While using model.bulkCreate, as we pass the options, an object which contains transaction, it comes modified after the execution
What are you doing?
We have called bulk