├── .github └── workflows │ └── publish.yml ├── .gitignore ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── cherry-derive ├── Cargo.toml ├── README.md └── src │ ├── derive_cherry.rs │ └── lib.rs ├── cherry-sql ├── Cargo.toml └── src │ ├── delete │ └── mod.rs │ ├── dialect.rs │ ├── insert │ └── mod.rs │ ├── lib.rs │ ├── restrict.rs │ ├── select │ └── mod.rs │ └── update │ └── mod.rs ├── cherry ├── Cargo.toml ├── README.md ├── src │ ├── cherry.rs │ ├── clause │ │ ├── end.rs │ │ ├── insert_conflict.rs │ │ ├── mod.rs │ │ ├── select_column.rs │ │ ├── update_set.rs │ │ ├── update_set_column.rs │ │ ├── where_column.rs │ │ └── where_value.rs │ ├── executor.rs │ ├── lib.rs │ ├── provider.rs │ ├── query.rs │ └── sql │ │ ├── builder.rs │ │ ├── end_clause.rs │ │ ├── mod.rs │ │ ├── select_column.rs │ │ ├── update_set_clause.rs │ │ ├── where_clause.rs │ │ └── where_condition.rs └── tests │ ├── derive_test.rs │ ├── insert_test.rs │ ├── migrations.sql │ └── select_test.rs └── example ├── Cargo.toml └── src └── main.rs /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | cherry/README.md -------------------------------------------------------------------------------- /cherry-derive/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-derive/Cargo.toml -------------------------------------------------------------------------------- /cherry-derive/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-derive/README.md -------------------------------------------------------------------------------- /cherry-derive/src/derive_cherry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-derive/src/derive_cherry.rs -------------------------------------------------------------------------------- /cherry-derive/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-derive/src/lib.rs -------------------------------------------------------------------------------- /cherry-sql/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-sql/Cargo.toml -------------------------------------------------------------------------------- /cherry-sql/src/delete/mod.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cherry-sql/src/dialect.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-sql/src/dialect.rs -------------------------------------------------------------------------------- /cherry-sql/src/insert/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-sql/src/insert/mod.rs -------------------------------------------------------------------------------- /cherry-sql/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-sql/src/lib.rs -------------------------------------------------------------------------------- /cherry-sql/src/restrict.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-sql/src/restrict.rs -------------------------------------------------------------------------------- /cherry-sql/src/select/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry-sql/src/select/mod.rs -------------------------------------------------------------------------------- /cherry-sql/src/update/mod.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cherry/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/Cargo.toml -------------------------------------------------------------------------------- /cherry/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/README.md -------------------------------------------------------------------------------- /cherry/src/cherry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/cherry.rs -------------------------------------------------------------------------------- /cherry/src/clause/end.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/clause/end.rs -------------------------------------------------------------------------------- /cherry/src/clause/insert_conflict.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/clause/insert_conflict.rs -------------------------------------------------------------------------------- /cherry/src/clause/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/clause/mod.rs -------------------------------------------------------------------------------- /cherry/src/clause/select_column.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/clause/select_column.rs -------------------------------------------------------------------------------- /cherry/src/clause/update_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/clause/update_set.rs -------------------------------------------------------------------------------- /cherry/src/clause/update_set_column.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/clause/update_set_column.rs -------------------------------------------------------------------------------- /cherry/src/clause/where_column.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/clause/where_column.rs -------------------------------------------------------------------------------- /cherry/src/clause/where_value.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/clause/where_value.rs -------------------------------------------------------------------------------- /cherry/src/executor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/executor.rs -------------------------------------------------------------------------------- /cherry/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/lib.rs -------------------------------------------------------------------------------- /cherry/src/provider.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/provider.rs -------------------------------------------------------------------------------- /cherry/src/query.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/query.rs -------------------------------------------------------------------------------- /cherry/src/sql/builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/sql/builder.rs -------------------------------------------------------------------------------- /cherry/src/sql/end_clause.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/sql/end_clause.rs -------------------------------------------------------------------------------- /cherry/src/sql/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/sql/mod.rs -------------------------------------------------------------------------------- /cherry/src/sql/select_column.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/sql/select_column.rs -------------------------------------------------------------------------------- /cherry/src/sql/update_set_clause.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/sql/update_set_clause.rs -------------------------------------------------------------------------------- /cherry/src/sql/where_clause.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/sql/where_clause.rs -------------------------------------------------------------------------------- /cherry/src/sql/where_condition.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/src/sql/where_condition.rs -------------------------------------------------------------------------------- /cherry/tests/derive_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/tests/derive_test.rs -------------------------------------------------------------------------------- /cherry/tests/insert_test.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/tests/insert_test.rs -------------------------------------------------------------------------------- /cherry/tests/migrations.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/cherry/tests/migrations.sql -------------------------------------------------------------------------------- /cherry/tests/select_test.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/example/Cargo.toml -------------------------------------------------------------------------------- /example/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/algobun/cherry/HEAD/example/src/main.rs --------------------------------------------------------------------------------