Additional Diesel ORM support for CockroachDB syntax.
cargo install diesel_cockroach
Currently supported features are listed below:
UPSERT](https://www.cockroachlabs.com/docs/stable/upsert.html)See the official insert_into documentation for general examples.
Just replace the diesel::insert_into function with the disired function from diesel_cockroach:
```rust use dieselcockroach::upsert::upsertinto;
let new_users = vec![ name.eq("Tess"), name.eq("Jim"), ];
let rowsupserted = upsertinto(users) .values(&new_users) .execute(&connection);
asserteq!(Ok(2), rowsupserted); ```