Expand description
dsync library
The dsync library allows creating a custom binary for dsync
§Features
async
: enable support for diesel_asynctsync
: enable support for tsyncbacktrace
: enable attaching backtraces to dsync errorsderive-queryablebyname
: enablediesel::QueryableByName
derives on READ structsadvanced-queries
: enable experimental pagination and filter functions (examples)
default features: tsync
, backtrace
, derive-queryablebyname
Re-exports§
Modules§
Structs§
- File
Change - Status indicating what happened to a specific file
- Generation
Config - Global config, not table specific
- Generation
Config Opts - Table
Options - Options for a individual table
Enums§
- Bytes
Type - Available options for bytes types
- File
Change Status - Status indicating what happened to a file
- String
Type - Available options for string types
Constants§
- DEFAULT_
MODEL_ PATH - DEFAULT_
SCHEMA_ PATH - FILE_
SIGNATURE - dsync file signature for generated & managed files
Functions§
- generate_
code - Generate a model for the given schema contents
- generate_
files - Generate all Models for a given diesel schema file