gorm/tests
Luis Guillermo Gómez 47ffd0bef4
Select all fields in SQL queries avoiding the SELECT * FROM (#3731)
* Select all fields in SQL queries avoiding the SELECT * FROM

* Select table name with fields in SQL queries

* Use QueryFields to execute the SQL query with all fields of the table
2020-11-20 15:38:25 +08:00
..
.gitignore Refactor Prepared Statement 2020-07-28 14:46:48 +08:00
README.md
associations_belongs_to_test.go
associations_has_many_test.go
associations_has_one_test.go Allow to omit fields in associations, close #3752 2020-11-17 21:49:40 +08:00
associations_many2many_test.go Allow to skip associations when creating join table for many2many, close #3605 2020-11-17 20:24:08 +08:00
associations_test.go Fix Association.Replace() error returning (#3766) 2020-11-19 19:24:34 +08:00
benchmark_test.go Refactor codebase and add benchmark test 2020-06-05 23:26:56 +08:00
callbacks_test.go
count_test.go Use NewDB to replace WithConditions for Session 2020-11-17 16:28:37 +08:00
create_test.go Add CreateInBatches supports 2020-11-16 21:42:30 +08:00
customize_field_test.go
default_value_test.go
delete_test.go Add deleted_at check when soft deleting, fix #3720 2020-11-05 11:20:08 +08:00
distinct_test.go
docker-compose.yml
embedded_struct_test.go Fix create database foreign keys for same type having has many/one & many2many relationships, close #3424 2020-09-08 18:25:29 +08:00
go.mod Fix call hook methods when updating with struct 2020-10-27 18:14:36 +08:00
group_by_test.go Test Order/GroupBy 2020-07-06 09:47:14 +08:00
helper_test.go
hooks_test.go Use NewDB to replace WithConditions for Session 2020-11-17 16:28:37 +08:00
joins_table_test.go
joins_test.go
main_test.go
migrate_test.go
multi_primary_keys_test.go Select all fields in SQL queries avoiding the SELECT * FROM (#3731) 2020-11-20 15:38:25 +08:00
named_argument_test.go
named_polymorphic_test.go
non_std_test.go
postgres_test.go
preload_suits_test.go
preload_test.go
prepared_stmt_test.go
query_test.go Select all fields in SQL queries avoiding the SELECT * FROM (#3731) 2020-11-20 15:38:25 +08:00
scan_test.go
scanner_valuer_test.go
scopes_test.go
soft_delete_test.go Add deleted_at check when soft deleting, fix #3720 2020-11-05 11:20:08 +08:00
sql_builder_test.go
table_test.go Select all fields in SQL queries avoiding the SELECT * FROM (#3731) 2020-11-20 15:38:25 +08:00
tests_all.sh
tests_test.go
transaction_test.go
update_belongs_to_test.go
update_has_many_test.go
update_has_one_test.go
update_many2many_test.go
update_test.go
upsert_test.go Add OnConflict UpdateAll support 2020-11-16 20:22:08 +08:00

README.md

Test Guide

cd tests
# prepare test databases
docker-compose up

# run all tests
./tests_all.sh