mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[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:
parent
da111f7fec
commit
324aa96062
2 changed files with 79 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue