Registry / database / lemmy-db-views

lemmy-db-views

JSON →
library0.19.18rscratesunverified

Database views for the Lemmy link aggregator on the fediverse.

# Cargo.toml [dependencies] lemmy_db_views = "0.19.18"
INSTALL
IMPORT
SIG · LEMMY-DB-VIEWS
L
lemmy-db-views
databaserustv0.19.18
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PostView
use lemmy_db_views::post_view::PostView;

Import and use a database view type

use lemmy_db_views::post_view::PostView; fn main() { // Example usage would require a database connection println!("PostView type available"); }
Debug
Known issues
gotchaRequires a Lemmy database schema and connection to function.
fix
Ensure you have a running Lemmy instance and proper database configuration.
affects: all
Upgrade
Version history
0.19.18latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
lemmy-db-views — cargo add lemmy-db-views · libregistry