From 33dab6599f8b1cc4a8613c661a1ee1f7b6d68d89 Mon Sep 17 00:00:00 2001 From: Jim Lambert Date: Sun, 16 Feb 2020 11:32:48 -0500 Subject: [PATCH] refactored to its own file for clarity --- dialect.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dialect.go b/dialect.go index 1e3d46ea..749587f4 100644 --- a/dialect.go +++ b/dialect.go @@ -145,11 +145,3 @@ func currentDatabaseAndTable(dialect Dialect, tableName string) (string, string) } return dialect.CurrentDatabase(), tableName } - -// OraDialect interface contains behaviors that differ that other databases and allows for each Ora driver to -// implement custom behaviours -type OraDialect interface { - // CreateWithReturningInto is called by gorm.createCallback(*Scope) and will create new entity while populating the identity ID into the primary key - // different drivers will have different ways of handling this behaviour for Ora - CreateWithReturningInto(*Scope) -}