couchdb-orm 0.1.6

couchdb-orm Copyright (C) 2020-2023 OpenToolAdd This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions; type `show-license' for details. A CLI ORM to manage some Databases operations like migration, schema creation, etc.... For the moment it only handle CouchDB.
Documentation
1
2
3
4
5
6
7
8
9
pub mod default;
use default::models::task_old::Task;

#[test]
fn test_model() {
    let task: Task = Task::new("test".to_string(), "test_owner".to_string());
    assert_eq!(task.name, "test");
    assert_eq!(task.owner, "test_owner");
}