@@ -146,9 +146,6 @@ impl Connection {
146146 ///
147147 /// Some pragmas will return multiple rows/values which cannot be retrieved
148148 /// with this method.
149- ///
150- /// Prefer [PRAGMA function](https://sqlite.org/pragma.html#pragfunc) introduced in DuckDB 3.20:
151- /// `SELECT user_version FROM pragma_user_version;`
152149 pub fn pragma_query_value < T , F > ( & self , schema_name : Option < DatabaseName < ' _ > > , pragma_name : & str , f : F ) -> Result < T >
153150 where
154151 F : FnOnce ( & Row < ' _ > ) -> Result < T > ,
@@ -159,9 +156,6 @@ impl Connection {
159156 }
160157
161158 /// Query the current rows/values of `pragma_name`.
162- ///
163- /// Prefer [PRAGMA function](https://sqlite.org/pragma.html#pragfunc) introduced in DuckDB 3.20:
164- /// `SELECT * FROM pragma_collation_list;`
165159 pub fn pragma_query < F > ( & self , schema_name : Option < DatabaseName < ' _ > > , pragma_name : & str , mut f : F ) -> Result < ( ) >
166160 where
167161 F : FnMut ( & Row < ' _ > ) -> Result < ( ) > ,
@@ -176,15 +170,11 @@ impl Connection {
176170 Ok ( ( ) )
177171 }
178172
179- /// Query the current value(s) of `pragma_name` associated to
180- /// `pragma_value`.
173+ /// Query the current value(s) of `pragma_name` associated to `pragma_value`.
181174 ///
182175 /// This method can be used with query-only pragmas which need an argument
183176 /// (e.g. `table_info('one_tbl')`) or pragmas which returns value(s)
184177 /// (e.g. `integrity_check`).
185- ///
186- /// Prefer [PRAGMA function](https://sqlite.org/pragma.html#pragfunc) introduced in DuckDB 3.20:
187- /// `SELECT * FROM pragma_table_info(?);`
188178 pub fn pragma < F > (
189179 & self ,
190180 schema_name : Option < DatabaseName < ' _ > > ,
0 commit comments