- Added SQL migrations for movies and reviews tables. - Implemented SqliteMovieRepository with methods for upserting movies, saving reviews, and querying diary entries. - Introduced models for database rows and conversion to domain models. - Integrated async migration handling in the repository. - Updated Cargo.toml files to include necessary dependencies for async operations and HTTP handling.
21 lines
369 B
JSON
21 lines
369 B
JSON
{
|
|
"db_name": "SQLite",
|
|
"query": "SELECT COUNT(*) FROM reviews",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"name": "COUNT(*)",
|
|
"ordinal": 0,
|
|
"type_info": "Integer"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Right": 0
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "0963b9661182e139cd760bbabb0d6ea3a301a2a3adbdfdda4a88f333a1144c77"
|
|
}
|