diff options
author | FxQnLr <[email protected]> | 2024-03-04 21:37:55 +0100 |
---|---|---|
committer | FxQnLr <[email protected]> | 2024-03-04 21:37:55 +0100 |
commit | 0a058ba2064d323451462a79c71580dea7d8ec8c (patch) | |
tree | 3e0a5a8c2d48aac8b1ff1720455db47a0c50386a /.sqlx/query-566c84386614590144dfebce2248cb3a734074014a493a7aad6fa03bb1286dc8.json | |
parent | 0920c86de3523785b5f4ac67e2090f0736f9fcb2 (diff) | |
download | webol-0a058ba2064d323451462a79c71580dea7d8ec8c.tar webol-0a058ba2064d323451462a79c71580dea7d8ec8c.tar.gz webol-0a058ba2064d323451462a79c71580dea7d8ec8c.zip |
Closes #19. Added OpenApi through `utoipa`
Diffstat (limited to '.sqlx/query-566c84386614590144dfebce2248cb3a734074014a493a7aad6fa03bb1286dc8.json')
-rw-r--r-- | .sqlx/query-566c84386614590144dfebce2248cb3a734074014a493a7aad6fa03bb1286dc8.json | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.sqlx/query-566c84386614590144dfebce2248cb3a734074014a493a7aad6fa03bb1286dc8.json b/.sqlx/query-566c84386614590144dfebce2248cb3a734074014a493a7aad6fa03bb1286dc8.json new file mode 100644 index 0000000..735c3bb --- /dev/null +++ b/.sqlx/query-566c84386614590144dfebce2248cb3a734074014a493a7aad6fa03bb1286dc8.json | |||
@@ -0,0 +1,49 @@ | |||
1 | { | ||
2 | "db_name": "PostgreSQL", | ||
3 | "query": "\n INSERT INTO devices (id, mac, broadcast_addr, ip)\n VALUES ($1, $2, $3, $4)\n RETURNING id, mac, broadcast_addr, ip, times;\n ", | ||
4 | "describe": { | ||
5 | "columns": [ | ||
6 | { | ||
7 | "ordinal": 0, | ||
8 | "name": "id", | ||
9 | "type_info": "Varchar" | ||
10 | }, | ||
11 | { | ||
12 | "ordinal": 1, | ||
13 | "name": "mac", | ||
14 | "type_info": "Macaddr" | ||
15 | }, | ||
16 | { | ||
17 | "ordinal": 2, | ||
18 | "name": "broadcast_addr", | ||
19 | "type_info": "Varchar" | ||
20 | }, | ||
21 | { | ||
22 | "ordinal": 3, | ||
23 | "name": "ip", | ||
24 | "type_info": "Inet" | ||
25 | }, | ||
26 | { | ||
27 | "ordinal": 4, | ||
28 | "name": "times", | ||
29 | "type_info": "Int8Array" | ||
30 | } | ||
31 | ], | ||
32 | "parameters": { | ||
33 | "Left": [ | ||
34 | "Varchar", | ||
35 | "Macaddr", | ||
36 | "Varchar", | ||
37 | "Inet" | ||
38 | ] | ||
39 | }, | ||
40 | "nullable": [ | ||
41 | false, | ||
42 | false, | ||
43 | false, | ||
44 | false, | ||
45 | true | ||
46 | ] | ||
47 | }, | ||
48 | "hash": "566c84386614590144dfebce2248cb3a734074014a493a7aad6fa03bb1286dc8" | ||
49 | } | ||