orm
Here are 2,601 public repositories matching this topic...
Issue type:
[x] question
[ ] bug report
[ ] feature request
[x] documentation issue
Database system/driver:
[ ] cordova
[x] mongodb
[ ] mssql
[ ] mysql / mariadb
[ ] oracle
[ ] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo
TypeORM version:
[x] latest
[ ] @next
[ ] 0.x.x (or put your version here)
followed the docs for has manyhttp://gorm.io/docs/has_many.html for sqlilite
package main
import (
"fmt"
"github.com/jinzhu/gorm"
_ "github.com/mattn/go-sqlite3"
)
type User struct {
Id string
Name string
CreditCards []CreditCard `gorm:"FOREIGNKEY:user_id;ASSOCIATION_FOREIGNKEY:id"`
}
type CreditCard struct {
Id int
Number string
UserID
Describe the bug
Any attempt to test a subscription directly to the Prisma server via Playground returns the following error:
The provided query doesn't include any known model name. Please check for the latest subscriptions API.
In review of the WS transactions in the browser console, I can see I am receiving this response from the Prisma endpoint, but nothing is being logged by Pri
I am running a sample test in SqlServer where it is using ToString() on a string column (COL2) in the LINQ.
The test is giving following error when trying to generate SELECT query from the LINQ.
**Unhandled exception. System.InvalidOperationException: The LINQ expression 'DbSet
.Where(t => t.COL2.ToString().Contains(__url_0))' could
-
Updated
May 31, 2020 - Java
This is a:
-
enhancement
-
CakePHP Version: any (collections).
Since you have already used psalm and it's templates feature, I would like to suggest you to type all the collections library
Documentation?
Is the README the only documentation available for this project? I find myself having to read the source to understand the interface and features that are available (e.g., context managers, bulk_query, etc.).
In the case of bulk_query, the arguments are simply passed through to the underlying SQLAlchemy engine, with no explanation. I tracked it down in [SQLAlchemy's documentation](https:/
-
Updated
Apr 3, 2020 - Go
Introduction
It seems the API-description for "fetch" does not match the actual behaviour and the changelog information.
Issue Description
In the API description for "fetch"
https://bookshelfjs.org/api.html#Collection-instance-fetch
it reads
If you wish to trigger an error if the fetched collection is empty, pass {require: true} as one of the options to the fetch call
Given that we support CURRENT_TIMESTAMP, the lack of CURRENT_DATE feels like an omission. While you can hack it with date(now), I keep finding myself wishing there was a direct way to reference this. Given that now means CURRENT_TIMESTAMP, I think there's precedent for today meaning CURRENT_DATE. This is supported by all backends we support (and is in the ISO standard I believe).
Use php-cs-fixer
I suggest php-cs-fixer for this library
I found an issue for support of LocalDate, JetBrains/Exposed#100 but nobody asked for a time support.
https://www.postgresql.org/docs/9.1/datatype-datetime.html#DATATYPE-DATETIME-TABLE
Obviously, time can be stored with timestamp type, but I think it would be nice to have time column type.
We have Javadoc published for each patch release, e.g.:
- https://www.jooq.org/javadoc/3.13.0/org.jooq/org/jooq/conf/RenderQuotedNames.html
- https://www.jooq.org/javadoc/3.13.1/org.jooq/org/jooq/conf/RenderQuotedNames.html
The latest version of the Javadoc for a minor release is currently using an x for the patch release number:
-
Updated
May 31, 2020 - Rust
https://www.npmjs.com/package/@prisma/cli and https://www.npmjs.com/package/@prisma/client could use some love <3
I was facing a problem and by reading the documentation, I was not be able to find the solution to the problem. The raw query section does not provide enough information, of how to use raw query method in different problems. Will be nice to add a section in the raw query that explains you, how to query a specific record through a nested array in mongo db.
` Example: Document.objects(raw={"_
let User = db.define("user", {
name: { type: "text", required: true, unique: true },
task_name: String,
task_data: Object,
last_seen: { type: 'date', time: true },
card_url: { type: 'text' },
});
let Group = db.define("group", {
name: { type: "text", required: true },
general_chat: { type: "text", required: true, unique: true },
admin_chat: { type: "tDB.Updateable<t_stock_document>().SetColumns(k => new t_stock_document() { OutQTY = k.OutQTY - delDoc.F_Qty ?? 0, OutFinish = false }).Where(k => k.F_ID == delDoc.RelateID).ToSql();语句中,使用??生成的Sql语句如图,运行时会报错 ,我以为是运算符优先级问题,
再加了括号试试,同样会报错,是否不支持??运算符

Issue Description
What was unclear/insufficient/not covered in the documentation
How to update and increment in one single query
If possible: Provide some suggestion on how we can enhance the docs
Add this to the docs.
Additional context
#7268
Issue Template Checklist