forked from mirror/gorm
Remove foundationdb from tests all script because it is not downloadable from offical site
This commit is contained in:
parent
0e2cd4475f
commit
4fbc9d2a8f
4
main.go
4
main.go
|
@ -220,9 +220,7 @@ func (s *DB) Rows() (*sql.Rows, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DB) Scan(dest interface{}) *DB {
|
func (s *DB) Scan(dest interface{}) *DB {
|
||||||
scope := s.clone().NewScope(s.Value).InstanceSet("gorm:query_destination", dest)
|
return s.clone().NewScope(s.Value).InstanceSet("gorm:query_destination", dest).callCallbacks(s.parent.callback.queries).db
|
||||||
Query(scope)
|
|
||||||
return scope.db
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DB) FirstOrInit(out interface{}, where ...interface{}) *DB {
|
func (s *DB) FirstOrInit(out interface{}, where ...interface{}) *DB {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
dialects=("postgres" "foundation" "mysql" "sqlite")
|
dialects=("postgres" "mysql" "sqlite")
|
||||||
|
|
||||||
for dialect in "${dialects[@]}" ; do
|
for dialect in "${dialects[@]}" ; do
|
||||||
GORM_DIALECT=${dialect} go test
|
GORM_DIALECT=${dialect} go test
|
||||||
|
|
Loading…
Reference in New Issue