orm
Here are 3,082 public repositories matching this topic...
-
Updated
Jan 31, 2021 - TypeScript
-
Updated
Jan 31, 2021 - Go
-
Updated
Jan 18, 2021 - Scala
-
Updated
Jan 29, 2021 - Java
Originally filed by @ruirodrigues1971 at PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#1304
Smaller repro from @lauxjpn:
This one is a very weird issue. I reproduced the behavior not just with MySQL, but also with SQL Server. It seems that this issue is part of EF Core.
The sample code I used for reproduction:
Program.cs
`
-
Updated
Jan 31, 2021 - PHP
-
Updated
Dec 22, 2020 - Python
Is it supported at the moment to have 'serialize_as' and 'deserialize_as' on the single field in the sturcture as shown below?
#[derive(Identifiable, Queryable, PartialEq, Debug, Serialize, Deserialize, Insertable)]
#[table_name = "blah"]
pub struct Data {
#[diesel(serialize_as = "SensitiveStringSerializer")]
#[diesel(deserialize_as = "SensitiveStringDeserializer")]
-
Updated
Apr 3, 2020 - Go
-
Updated
Jan 22, 2021 - JavaScript
-
Updated
Jan 31, 2021 - Go
-
Updated
Jan 30, 2021 - Rust
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
Jan 30, 2021 - 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
Jan 10, 2021 - 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