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::*;