rsfbclient-diesel

Crates.iorsfbclient-diesel
lib.rsrsfbclient-diesel
version0.25.0
sourcesrc
created_at2022-08-31 00:47:38.148014
updated_at2024-08-28 09:19:12.139207
descriptionThe Diesel implementation for Firebird
homepage
repositoryhttps://github.com/fernandobatels/rsfbclient
max_upload_size
id655414
size58,106
Luis Fernando Batels (fernandobatels)

documentation

README

Firebird adapter for diesel ORM

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.

Establishing a connection

use diesel::prelude::*;
use rsfbclient_diesel::FbConnection;

let conn = FbConnection::establish("firebird://SYSDBA:masterkey@localhost/test.fdb");

CRUD example

We also provide a CRUD example with employee.fdb database.

Commit count: 504

cargo fmt