-
`
type Test struct {
Id int `json:"id" db:"id" form:"id"`
Name string `json:"name" db:"name" form:"name"`
Role pq.Int64Array `json:"role" db:"role" form:"role"`
}
func main…
-
I'm using sqlx with postgres and have tested this against `postgres:13` and `postgres:12` docker images. Edit: sqlx 0.5.5.
My tables look like
```
CREATE TABLE Users (
id SERIAL NOT NULL,
…
-
Thank you for the tool. Here's a repro of an issue I encountered.
Expected: The linter warns me that I never closed this `rows`
Actual: Not detected
```
package sqlx_examples
import (
…
-
Congratulations for your project.
Can I ask you how to deal with db transactions calls in the hexagonal architecture?
-
Each model is duplicated at least twice. In generic model that is used to pass data between layers and DB specific model containing `sql.Null*` types or `mysql.NullTime` or such.
Also this forces u…
-
Hello. I'm maintaining binary packages for Arch Linux, including a variety of Rust projects that depend on `ring` directly or indirectly. In the previous months, [an RFC](https://gitlab.archlinux.org/…
orhun updated
1 month ago
-
Implement help response commands for providing quick responses to frequently asked questions / requests for information about DDNet/Teeworlds. Moderators would add, edit, and remove responses, and any…
-
I'm trying to do a migration involving adding a constraint to a field within a table that is referenced as a foreign key by other tables in SQLite. As you might know, SQLite's ALTER syntax is quite li…
-
Gorm has proven to be unreliable when it comes to migrating a database or doing basic things like silently dropping inserts / updates.
SQLite showed to be annoying when it comes to cross-compilation.…
-
It was brought to my attention over a discussion on Discord that we could improve our current architecture by generating a *crate* instead of a single file for our codegen.
The main benefit of this…