-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
53 lines (47 loc) · 1.09 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
exclude:
- _db
- _plugins
- .gitignore
plugins:
- jekyll_sqlite
- jekyll-datapage-generator
default:
- scope:
type: product
values:
PLEASE: HELLO
page_gen:
- data: products
template: product
page_data_prefix: product
title: ProductName
name: ProductID
extension: html
- data: customers
template: customer
page_data_prefix: customer
title: CompanyName
name: CustomerID
extension: html
sqlite:
- data: orders
file: &db "_db/northwind.db"
query: SELECT * from Orders
- data: customers
file: *db
query: SELECT * from Customers
- data: employeeOfTheMonth
file: *db
query: SELECT * FROM Employees WHERE EmployeeID = 3
- data: products
file: *db
query: SELECT * from Products
- data: categories
file: *db
query: SELECT CategoryID, CategoryName, Description FROM Categories
- data: categories.products
file: *db
query: SELECT ProductID, ProductName ,CategoryID FROM Products WHERE Products.CategoryID=:CategoryID
- data: featured.product
file: *db
query: SELECT * FROM Products WHERE ProductID = :ID