UNPKG
@tricoteuses/senat
Version:
latest (2.22.16)
2.22.16
2.22.15
2.22.14
2.22.13
2.22.12
2.22.11
2.22.10
2.22.9
2.22.8
2.22.7
2.22.6
2.22.5
2.22.4
2.22.3
2.22.2
2.22.1
2.22.0
2.21.6
2.21.5
2.21.4
2.21.3
2.21.2
2.21.1
2.21.0
2.20.35
2.20.34
2.20.33
2.20.32
2.20.31
2.20.30
2.20.29
2.20.28
2.20.27
2.20.26
2.20.25
2.20.24
2.20.23
2.20.22
2.20.21
2.20.20
2.20.19
2.20.18
2.20.17
2.20.16
2.20.15
2.20.13
2.20.12
2.20.11
2.20.10
2.20.9
2.20.8
2.20.7
2.20.6
2.20.5
2.20.4
2.20.3
2.20.2
2.20.1
2.20.0
2.19.9
2.19.8
2.19.7
2.19.6
2.19.5
2.19.4
2.19.3
2.19.2
2.19.1
2.19.0
2.18.13
2.18.12
2.18.11
2.18.10
2.18.9
2.16.8
2.16.7
2.16.5
2.16.4
2.16.3
2.16.2
2.16.0
2.15.7
2.15.6
2.15.5
2.15.4
2.15.3
2.15.2
2.15.1
2.15.0
2.14.8
2.14.7
2.14.6
2.14.5
2.14.4
2.14.3
2.14.2
2.14.0
2.13.2
2.13.1
2.13.0
2.12.0
2.11.5
2.11.4
2.11.3
2.11.2
2.11.1
2.11.0
2.10.5
2.10.4
2.10.3
2.10.2
2.10.1
2.10.0
2.9.10
2.9.9
2.9.8
2.9.7
2.9.6
2.9.5
2.9.1
2.9.0
2.8.6
2.8.5
2.8.4
2.8.1
2.7.1
2.6.2
2.6.1
2.5.9
2.5.8
2.5.7
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.4.2
2.4.1
2.3.2
2.3.1
2.2.2
2.2.1
2.1.2
2.1.1
2.1.0
1.4.1
1.3.5
1.3.4
1.3.2
1.3.1
1.1.2
1.1.1
1.0.1
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
Handle French Sénat's open data
tricoteuses.fr
@tricoteuses/senat
/
lib
/
model
/
questions.mjs
9 lines
(8 loc)
•
209 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{ dbByName }
from
'../databases'
;
export
const
getAllQuestions
=
async
(
) => {
return
(
await
dbByName.
questions
.
any
(
` SELECT * FROM tam_questions `
));
// TODO parse and trim?
};