From 9fe6702252227edfbc75954e64da96cd08a9df46 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 29 Jul 2021 12:47:42 +0800 Subject: [PATCH] Remove duplicated code --- internal/statements/associate.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 internal/statements/associate.go diff --git a/internal/statements/associate.go b/internal/statements/associate.go deleted file mode 100644 index 5659ddc9..00000000 --- a/internal/statements/associate.go +++ /dev/null @@ -1,14 +0,0 @@ -// Copyright 2017 The Xorm Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package statements - -type cascadeMode int - -const ( - cascadeCompitable cascadeMode = iota // load field beans with another SQL with no - cascadeEager // load field beans with another SQL - cascadeJoin // load field beans with join - cascadeLazy // don't load anything -)