From 19b1da175df23fb0448613f4fb0329ca785090d6 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Thu, 24 Nov 2022 00:03:29 +0800 Subject: [PATCH] Move file --- src/entity/mod.rs | 2 -- src/{entity => query}/loader.rs | 0 src/query/mod.rs | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{entity => query}/loader.rs (100%) diff --git a/src/entity/mod.rs b/src/entity/mod.rs index c5805247..6b413bdf 100644 --- a/src/entity/mod.rs +++ b/src/entity/mod.rs @@ -101,7 +101,6 @@ mod base_entity; mod column; mod identity; mod link; -mod loader; mod model; /// Re-export common types from the entity pub mod prelude; @@ -116,6 +115,5 @@ pub use identity::*; pub use link::*; pub use model::*; // pub use prelude::*; -pub use loader::*; pub use primary_key::*; pub use relation::*; diff --git a/src/entity/loader.rs b/src/query/loader.rs similarity index 100% rename from src/entity/loader.rs rename to src/query/loader.rs diff --git a/src/query/mod.rs b/src/query/mod.rs index 2de0e790..559eba17 100644 --- a/src/query/mod.rs +++ b/src/query/mod.rs @@ -5,6 +5,7 @@ mod insert; mod join; #[cfg(feature = "with-json")] mod json; +mod loader; mod select; mod traits; mod update; @@ -17,6 +18,7 @@ pub use insert::*; pub use join::*; #[cfg(feature = "with-json")] pub use json::*; +pub use loader::*; pub use select::*; pub use traits::*; pub use update::*;