-
## Describe the feature
The mysql bit(1) data type to Golang bool data type is supported
希望 gorm 可以支持 mysql 的bit(1) 数据类型转为 golang的bool数据类型。
## Motivation
The current GORM can only co…
-
# Go的50度灰:Golang新开发者要注意的陷阱和常见错误
原文: 50 Shades of Go: Traps, Gotchas, and Common Mistakes for New Golang Devs翻译: Go的50度灰:新Golang开发者要注意的陷阱、技巧和常见错误, 译者: 影风LEY
Go是一门简单有趣的语言,但与其他语言类似,它会有一些技巧。。。这些技巧的绝大部分并…
-
Here is my code
```
import (
"github.com/biezhi/gorm-paginator/pagination"
)
var orders []structs.Order
db = helpers.DB.Where("id > ?", 0)
pagination.Pagging(&pagination.Param{
…
-
When doing `imdbid` based queries over the torznab API, the returned `guid`s are all identical.
This has the effect of having Prowlarr only process the first item from the query results, because it c…
-
## GORM Playground Link
[https://github.com/go-gorm/playground/pull/678](https://github.com/go-gorm/playground/pull/678)
## Description
I would like to be able to use BeforeUpdate() to modify…
-
so do you have the initial sql for the repo? Thx~
-
DB schema:
` material_quantity numeric,`
Pggened model:
` MaterialQuantity *string gorm:"column:material_quantity" `
-
```
type SubProperties struct {
ID string
Contract string
Type string
Name string
}
type Properties struct {
Channel string
SubProperties
}
p := Properties{
Ch…
-
The model data (e.g. `Address`, `Customer`, `Order` and `Product`) should be stored in **postgres** and the file data (e.g. `Image`, `Invoice`) in **S3** with either [s3gof3r](http://godoc.org/github.…
-
Currently, it seems one needs to create the quartz tables manually when using `jdbcStore = true`. It would be great if the plugin supports database-migration, to create the quartz table migrations aut…