From 57097c0ede460b0b22ee76efeed668dfb89569a7 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Fri, 16 Jul 2021 16:51:12 +0800 Subject: [PATCH] Visibility --- src/query/insert.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/insert.rs b/src/query/insert.rs index c14fcc0b..d185ada1 100644 --- a/src/query/insert.rs +++ b/src/query/insert.rs @@ -25,7 +25,7 @@ impl Insert where A: ActiveModelTrait, { - pub fn new() -> Self { + pub(crate) fn new() -> Self { Self { query: InsertStatement::new() .into_table(A::Entity::default().into_iden())