orm
Here are 2,903 public repositories matching this topic...
-
Updated
Nov 1, 2020 - TypeScript
-
Updated
Nov 2, 2020 - Go
-
Updated
Oct 16, 2020 - Scala
-
Updated
Oct 29, 2020 - Java
Ultimately this will create a unique column (or group of columns) in the database which may or may not be used as the principal end of a relationship. In other words, it's a way to make a non-primary key column have a unique constraint without explicitly specifying a unique index.
This is not technically blocked on #4073, but should probably not be implemented until #4073 is fixed.
-
Updated
Nov 1, 2020 - PHP
-
Updated
Aug 12, 2020 - Python
-
Updated
Apr 3, 2020 - Go
Visiting https://github.com/diesel-rs/r2d2-diesel has a deprecation notice at the top pointing towards the r2d2 module powered by: https://github.com/sfackler/r2d2, which has great documentation on the package. However on our end there is no documentation on how integration with diesel works. Should we document how to properly use this?
The source in diesel specifies "See the [r2d2 documentatio
-
Updated
Sep 22, 2020 - JavaScript
Discussed from prisma/prisma#3930
https://prisma-company.slack.com/archives/CEYCG2MCN/p1602759196130900
In the CLI in the preinstall hook we could use something like
const nodeVersions = process.version.split('.')
const nodeMajorVersion = parseInt(nodeVersions[0].slice(1))
const nodeMinorVersion = parseInt(nodeVersions[1])
if (nodeMajorVersion < 10) {
//
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
Oct 30, 2020 - Java
-
Updated
Oct 24, 2020 - Rust
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 1, 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