From 8bf75bab08fbc3b3199c579fdfb4863340169c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Wed, 21 Aug 2024 16:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0sqlType=E6=9E=9A=E4=B8=BE?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/database.go b/database.go index 59ea8c1..dfe7679 100644 --- a/database.go +++ b/database.go @@ -11,3 +11,12 @@ const ( DatabaseDriverMysql = "mysql" // mysql 数据库驱动 DatabaseDriverSqlite3 = "sqlite3" // sqlLite3 数据库驱动 ) + +const ( + SqlTypeList = "list" + SqlTypeDetail = "detail" + SqlTypeCount = "count" + SqlTypeInsert = "insert" + SqlTypeUpdate = "update" + SqlTypeDelete = "delete" +)