mod definition;
mod field_config;
mod field_type;
mod query_params;
mod record;
mod relation_loader;
mod relation_options;
mod schema_validation;
mod table_config;
mod table_query;
mod tables;
mod validator;
#[cfg(test)]
mod __tests__;
#[cfg(feature = "mysql")]
pub use definition::TableHandle;
pub use definition::{col, ColumnName, Field, FieldMetadata, Order, Table, TableDefinition};
pub(crate) use field_config::FieldConfig;
pub use field_config::RelationType;
pub use field_type::FieldType;
pub use query_params::{
PaginatedResult, QueryParams, TableQueryPlan, WhereCondition, DEFAULT_QUERY_PAGE_SIZE,
MAX_QUERY_PAGE_SIZE,
};
pub use record::Record;
#[cfg(feature = "mysql")]
pub use relation_loader::DatabaseRelationExecutor;
pub use relation_loader::{
RelationBatch, RelationBatchExecutor, RelationData, RelationLoader, RelationSpec,
};
pub use relation_options::{RelationOption, RelationOptionsRequest, RelationOptionsResponse};
pub use schema_validation::{SchemaColumn, SchemaIssue, SchemaIssueKind, SchemaValidationReport};
pub use table_config::SortOrder;
pub(crate) use table_config::TableConfig;
#[cfg(feature = "mysql")]
pub(crate) use table_config::{CheckConfig, ForeignKeyConfig};
pub use table_query::{TableQuery, MAX_TABLE_QUERY_PAGE_SIZE};
pub use tables::{TableListResult, TableTreeNode, Tables, DEFAULT_TREE_MAX_NODES};
pub use validator::{Validator, ValidatorFn};