From 3d908525921594b0a50262bdaf3a83911f6d7f91 Mon Sep 17 00:00:00 2001 From: felipe Date: Fri, 20 Sep 2019 00:25:08 +0530 Subject: [PATCH] eextern -> extern (#535) was this intentional? --- src/database/sqlite/insert_select.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/sqlite/insert_select.md b/src/database/sqlite/insert_select.md index df37d86..f6a8c94 100644 --- a/src/database/sqlite/insert_select.md +++ b/src/database/sqlite/insert_select.md @@ -6,7 +6,7 @@ This recipe inserts data into `cat_colors` and `cats` tables using the [`execute`] method of `Connection`. First, the data is inserted into the `cat_colors` table. After a record for a color is inserted, [`last_insert_rowid`] method of `Connection` is used to get `id` of the last color inserted. This `id` is used while inserting data into the `cats` table. Then, the select query is prepared using the [`prepare`] method which gives a [`statement`] struct. Then, query is executed using [`query_map`] method of [`statement`]. ``` -eextern crate rusqlite; +extern crate rusqlite; use rusqlite::{Connection, Result}; use rusqlite::NO_PARAMS;