[enh] add PostgreSQL engine

Slightly modified merge of [22079ff] from searx.

[22079ff] 22079ffdef

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Noémi Ványi 2021-03-27 15:54:33 +01:00 committed by Markus Heiser
parent da111f7fec
commit 324aa96062
2 changed files with 79 additions and 0 deletions

View file

@ -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