mirror of
https://github.com/searxng/searxng.git
synced 2026-05-28 05:40:12 +02:00
[enh] add PostgreSQL engine
Slightly modified merge of [22079ff] from searx. [22079ff] https://github.com/searx/searx/commit/22079ffdefb07cf69486a232e823797e737014e9 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
committed by
Markus Heiser
parent
da111f7fec
commit
324aa96062
@@ -854,6 +854,16 @@ engines:
|
||||
url: https://thepiratebay.org/
|
||||
timeout : 3.0
|
||||
|
||||
# Required dependency: psychopg2
|
||||
# - name : postgresql
|
||||
# engine : postgresql
|
||||
# database : postgres
|
||||
# username : postgres
|
||||
# password : postgres
|
||||
# limit : 10
|
||||
# query_str : 'SELECT * from my_table WHERE my_column = %(query)s'
|
||||
# shortcut : psql
|
||||
|
||||
- name : pubmed
|
||||
engine : pubmed
|
||||
shortcut : pub
|
||||
|
||||
Reference in New Issue
Block a user