1pub mod alias_macro;
7pub mod derives;
8pub mod migrations;
9pub mod operators_macro;
10pub mod sql_functions;
11pub mod table_macro;
12
13mod helper_macros {
14 #[doc(hidden)]
15 #[macro_export]
16 #[cfg(feature = "postgres_backend")]
17 macro_rules! expand_pg {
18 ($($tt:tt)*) => {$($tt)*};
19 }
20 #[doc(hidden)]
21 #[macro_export]
22 #[cfg(not(feature = "postgres_backend"))]
23 macro_rules! expand_pg {
24 ($($tt:tt)*) => {};
25 }
26
27 #[doc(hidden)]
28 #[macro_export]
29 #[cfg(feature = "mysql_backend")]
30 macro_rules! expand_mysql {
31 ($($tt:tt)*) => {$($tt)*};
32 }
33
34 #[doc(hidden)]
35 #[macro_export]
36 #[cfg(not(feature = "mysql_backend"))]
37 macro_rules! expand_mysql {
38 ($($tt:tt)*) => {};
39 }
40
41 #[doc(hidden)]
42 #[macro_export]
43 #[cfg(feature = "__sqlite-shared")]
44 macro_rules! expand_sqlite {
45 ($($tt:tt)*) => {$($tt)*};
46 }
47
48 #[doc(hidden)]
49 #[macro_export]
50 #[cfg(not(feature = "__sqlite-shared"))]
51 macro_rules! expand_sqlite {
52 ($($tt:tt)*) => {};
53 }
54}