-
Notifications
You must be signed in to change notification settings - Fork 169
/
Copy pathbeam.yaml
112 lines (107 loc) · 2.96 KB
/
beam.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# The docs machinery can be used to generate examples using multiple
# backends, including those not included as part of the beam-core
# repository
#
# This configuration contains the defaults for the main beam documentation
#
# To restrict which backends should be included in a local build,
# modify the mkdocs.yaml file, and set enabled_backends to a list of
# backend names that should be included
backends:
beam-postgres:
backend-name: Postgres
backend-module: Database.Beam.Postgres
backend-options: '"host=localhost port=5432" beam_docs_chinook'
src:
file: ./beam-postgres
haskell-names:
package: beam-postgres
backend: Postgres
monad: Pg
select-syntax: PgSelectSyntax
mnemonic: Pg
with-database-debug: runBeamPostgresDebug
extra-packages:
- postgresql-simple
extra-imports:
- Database.PostgreSQL.Simple
- "qualified Database.Beam.Postgres.Full as Pg"
backend-extra: >-
docsWithTransaction = withTransaction
supports:
- utf8
- t611
- outer-join
- window
- intersect
- except
- cte
beam-sqlite:
backend-name: Sqlite
backend-module: Database.Beam.Sqlite
backend-options: chinook.db
src:
file: ./beam-sqlite
haskell-names:
package: beam-sqlite
backend: Sqlite
monad: SqliteM
select-syntax: SqliteSelectSyntax
mnemonic: Sqlite
with-database-debug: runBeamSqliteDebug
extra-packages:
- sqlite-simple
extra-imports:
- Database.SQLite.Simple
backend-extra: >-
docsWithTransaction = withTransaction
supports:
- utf8
- intersect
- except
# beam-mysql:
# backend-name: MySQL
# backend-module: Database.Beam.MySQL
# backend-options: "127.0.0.1 3306 root '' beam_docs_chinook"
# src:
# local: ../beam-mysql
## github: tathougies/beam-mysql
## revision: f4b5d6d6fc1bd88ae5628cd9c03c83e3eb66d873
## sha256: 87e091f7bb98a1265bf87793f7ddd07f90029d33fd6b6fe6018f8723d746d7a5
# haskell-names:
# package: beam-mysql
# backend: MySQL
# monad: MySQLM
# select-syntax: MysqlSelectSyntax
# mnemonic: My
# with-database-debug: runBeamMySQLDebug
# extra-packages:
# - mysql-simple
# extra-imports:
# - Database.MySQL.Simple
# - "qualified Database.MySQL.Base as Base"
# backend-extra: >-
# docsWithTransaction = withTransaction
# supports:
# - utf8
# beam-mssql:
# backend-name: MsSQL
# backend-module: Database.Beam.MsSQL
# backend-options: "sa Testtest1 test2"
# src:
# local: ../beam-mssql
# haskell-names:
# package: beam-mssql
# backend: MsSQL
# monad: MsSQLM
# select-syntax: MssqlSelectSyntax
# mnemonic: Ms
# with-database-debug: runBeamMsSQLDebug
# extra-packages:
# - tds
# extra-imports:
# - Database.TDS
# backend-extra: >-
# docsWithTransaction = withTransaction
# supports:
# - utf8