Skip to content

Commit 439b459

Browse files
authored
Update DEVELOPERS.md
1 parent 3b69fc3 commit 439b459

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

DEVELOPERS.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ Datasette runs through SQL queries, so your connector has to accept these querie
3737

3838
The `execute` method receives:
3939

40-
* sql: the query
41-
* params: a dictionary with the params used in the query
42-
* truncate: a boolean saying if the returned data can be separated in pages or not
43-
* page_size: the number of rows a page can contain
44-
* max_returned_rows: the maximum number of rows Datasette expects
40+
* **sql**: the query
41+
* **params**: a dictionary with the params used in the query
42+
* **truncate**: a boolean saying if the returned data can be separated in pages or not
43+
* **page_size**: the number of rows a page can contain
44+
* **max_returned_rows**: the maximum number of rows Datasette expects
4545

46-
We need to parse the query because PyTables has his own style for queries, but other databases could work with the SQL queries without requiring any parsing.
46+
We need to parse the query because PyTables has its own style for queries, but other databases could work with the SQL queries without requiring any parsing.
4747

4848
Sometimes, Datasette make queries to `sqlite_master`; you need to keep it in mind.
4949

5050
The `execute` method has to return a tuple with:
5151

5252
* a list of rows (Datasette expects something like SQLite rows)
5353
* a boolean saying if the data is truncated, i.e., if we return all the rows or there are more rows than the maximum indicated in max_returned_rows
54-
* a tuple with the description of the columns in the form (('c1',), ('c2',), ...)
54+
* a tuple with the description of the columns in the form `(('c1',), ('c2',), ...)`
5555

5656
## Rows format
5757

0 commit comments

Comments
 (0)