Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

junhuif/gorm_cannot_updates_virtual_attributes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gorm Updates cannot updates virtual attributes

Quick Started

# Get code
$ go get -u github.com/fengjh/gorm-with-rows

# Set environment variables
$ source .env

# Setup postgres database
$ postgres=# CREATE USER gorm_cannot_updates_virtual_attributes;
$ postgres=# CREATE DATABASE gorm_cannot_updates_virtual_attributes OWNER gorm_cannot_updates_virtual_attributes;

# Run Application
$ go test -run TestUpdateUserPassword

About

A demo for reproduce a gorm updates bug

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages