diff options
-rw-r--r-- | src/commit/models.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commit/models.rs b/src/commit/models.rs index 7f6a9fc..b2aa2d2 100644 --- a/src/commit/models.rs +++ b/src/commit/models.rs @@ -123,6 +123,7 @@ impl Commit { // Remove the last `,` let _ = raw_query.pop(); + raw_query += " RETURNING *"; // TODO: write query with &commits and parameter. Need to implement // ToSql trait for `Commit` model |