datasette-write 0.3__py3-none-any.whl → 0.3.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of datasette-write might be problematic. Click here for more details.
- datasette_write/__init__.py +1 -1
- {datasette_write-0.3.dist-info → datasette_write-0.3.2.dist-info}/METADATA +1 -1
- datasette_write-0.3.2.dist-info/RECORD +7 -0
- {datasette_write-0.3.dist-info → datasette_write-0.3.2.dist-info}/WHEEL +1 -1
- datasette_write-0.3.dist-info/RECORD +0 -7
- {datasette_write-0.3.dist-info → datasette_write-0.3.2.dist-info}/entry_points.txt +0 -0
- {datasette_write-0.3.dist-info → datasette_write-0.3.2.dist-info}/top_level.txt +0 -0
datasette_write/__init__.py
CHANGED
|
@@ -50,7 +50,6 @@ async def write(request, datasette):
|
|
|
50
50
|
params = {
|
|
51
51
|
key[3:]: value for key, value in formdata.items() if key.startswith("qp_")
|
|
52
52
|
}
|
|
53
|
-
print(params)
|
|
54
53
|
try:
|
|
55
54
|
result = await database.execute_write(sql, params, block=True)
|
|
56
55
|
if result.rowcount == -1:
|
|
@@ -167,6 +166,7 @@ def database_actions(datasette, actor, database):
|
|
|
167
166
|
)
|
|
168
167
|
),
|
|
169
168
|
"label": "Execute SQL write",
|
|
169
|
+
"description": "Run queries like insert/update/delete against this database",
|
|
170
170
|
},
|
|
171
171
|
]
|
|
172
172
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
datasette_write/__init__.py,sha256=cXmzHZ0_3e_PYGofZo4cCRBwdnotkDxW5uAZxUSdlSg,6693
|
|
2
|
+
datasette_write/templates/datasette_write.html,sha256=-7zwcfznocsei5aIZnRcgEsdCib6-H7Fa1TuxasetDM,4911
|
|
3
|
+
datasette_write-0.3.2.dist-info/METADATA,sha256=wp34mljBEpOYbVLWVW7T11QI0JZqqWIxxAz1LVUOMzQ,2834
|
|
4
|
+
datasette_write-0.3.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
5
|
+
datasette_write-0.3.2.dist-info/entry_points.txt,sha256=q6Nsr_AVBF5D0y_ojz62qBHP8NQmxcpTzaD5O8ndsJ0,36
|
|
6
|
+
datasette_write-0.3.2.dist-info/top_level.txt,sha256=TqV9H_tIZKzfVqbxQQWAxuu9NrbmOOdziZgsBYuYods,16
|
|
7
|
+
datasette_write-0.3.2.dist-info/RECORD,,
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
datasette_write/__init__.py,sha256=ypYSmCtPYNQ5Bm7b7BgSGlqf0on6Le9BaLP2Jrhz1W4,6617
|
|
2
|
-
datasette_write/templates/datasette_write.html,sha256=-7zwcfznocsei5aIZnRcgEsdCib6-H7Fa1TuxasetDM,4911
|
|
3
|
-
datasette_write-0.3.dist-info/METADATA,sha256=Wgn7hrMhP72aSvRxVoYMQ95IkyKFj3oZ5P522PDubqc,2832
|
|
4
|
-
datasette_write-0.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
5
|
-
datasette_write-0.3.dist-info/entry_points.txt,sha256=q6Nsr_AVBF5D0y_ojz62qBHP8NQmxcpTzaD5O8ndsJ0,36
|
|
6
|
-
datasette_write-0.3.dist-info/top_level.txt,sha256=TqV9H_tIZKzfVqbxQQWAxuu9NrbmOOdziZgsBYuYods,16
|
|
7
|
-
datasette_write-0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|