From c5fe707e3445c9ce483987314a8fca3f75768642 Mon Sep 17 00:00:00 2001 From: Meutel Date: Wed, 3 Sep 2014 19:39:55 +0200 Subject: [PATCH] sample configuration file --- sample.config.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sample.config.json diff --git a/sample.config.json b/sample.config.json new file mode 100644 index 0000000..f906e6c --- /dev/null +++ b/sample.config.json @@ -0,0 +1,16 @@ +{ + "calibre_path": "./public/calibre", + "calibre_db_path": "./public/calibre/metadata.db", + "trust proxy": true, + "book_details_custom": [ + { + "name": "a_lire", + "query": "SELECT custom_columns.name AS label, custom_column_2.value AS value FROM custom_column_2 LEFT OUTER JOIN custom_columns ON custom_columns.id = 2 WHERE custom_column_2.book = ?", + "type": "bool" + }, { + "name": "phy", + "query": "SELECT custom_columns.name AS label, custom_column_3.value AS value FROM custom_column_3 LEFT OUTER JOIN custom_columns ON custom_columns.id = 3 WHERE custom_column_3.book = ?", + "type": "bool" + } + ] +}