Crates.io | rsfbclient-diesel |
lib.rs | rsfbclient-diesel |
version | 0.25.0 |
source | src |
created_at | 2022-08-31 00:47:38.148014 |
updated_at | 2024-08-28 09:19:12.139207 |
description | The Diesel implementation for Firebird |
homepage | |
repository | https://github.com/fernandobatels/rsfbclient |
max_upload_size | |
id | 655414 |
size | 58,106 |
Diesel is a safe, extensible ORM and Query Builder for Rust. With this crate you can use it for access the Firebird database.
This crate only implements the firebird backend for Diesel. To use diesel features, you must import it.
By default the lib will use the native client. If you want use the pure rust client, enable the pure_rust
feature.
use diesel::prelude::*;
use rsfbclient_diesel::FbConnection;
let conn = FbConnection::establish("firebird://SYSDBA:masterkey@localhost/test.fdb");
We also provide a CRUD example with employee.fdb
database.