.TH DASHT\-QUERY\-EXEC 1 2020\-05\-16 2.4.0 .SH NAME .PP dasht\-query\-exec \- searches a Dash \[la]https://kapeli.com/dash\[ra] docset's SQLite3 database file .SH SYNOPSIS .PP \fB\fCdasht\-query\-exec\fR \fIPATTERN\fP \fIDATABASE\fP [\fIOPTIONS_FOR_SQLITE3\fP\&...] .SH DESCRIPTION .PP Searches for \fIPATTERN\fP in \fIDATABASE\fP, which is an SQLite3 database file located inside a Dash \[la]https://kapeli.com/dash\[ra] docset at \fB\fC/Contents/Resources/docSet.dsidx\fR, while passing the optional \fIOPTIONS_FOR_SQLITE3\fP arguments down to .BR sqlite3 (1). .PP If \fIPATTERN\fP is empty or solely consists of unescaped wildcard characters, topics having distinct leading characters are returned from the \fIDATABASE\fP\&. .SS Searching .PP SQL LIKE wildcard characters in \fIPATTERN\fP can be escaped with a backslash. For example, \fB\fC\\%\fR and \fB\fC\\_\fR are escaped, whereas \fB\fC%\fR and \fB\fC_\fR are not escaped. .SH SEE ALSO .PP .BR sqlite3 (1), .BR dasht-query-line (1), .BR dasht (1), Dash \[la]https://kapeli.com/dash\[ra] .SH AUTHOR .PP Written in 2016 by Suraj N. Kurapati \[la]https://github.com/sunaku/dasht\[ra] Distributed under the terms of the ISC license (refer to README file). .PP This particular script contains SQL queries that were derived from Zeal \[la]https://zealdocs.org\[ra], which is licensed under the GNU General Public License. Refer to the body of this script for the terms and conditions that govern those SQL queries.