home / code

usages

138 rows

View and edit SQL

Link rowid line_id definition_id
101 link_or_copy_directory(  6515 link_or_copy_directory 172
102 link_or_copy_directory(  6520 link_or_copy_directory 172
103 link_or_copy_directory(  6585 link_or_copy_directory 172
104 link_or_copy_directory(  6591 link_or_copy_directory 172
105 link_or_copy_directory(  6603 link_or_copy_directory 172
106 raise ValueAsBooleanError  7006 ValueAsBooleanError 179
107 raise WriteLimitExceeded("CSV contains more than {} bytes".format(  7027 WriteLimitExceeded 180
108 @add_common_publish_arguments_and_options  7691 add_common_publish_arguments_and_options 185
109 @add_common_publish_arguments_and_options  7610 add_common_publish_arguments_and_options 185
110 fail_if_publish_binary_not_installed(  7715 fail_if_publish_binary_not_installed 186
111 fail_if_publish_binary_not_installed("now", "Zeit Now", "https://zeit.co/now")  7640 fail_if_publish_binary_not_installed 186
112 class TableView(RowTableShared):  8177 RowTableShared 190
113 class RowView(RowTableShared):  8758 RowTableShared 190
114 raise DatasetteError("CSV streaming is disabled", status=400)  9077 DatasetteError 194
115 raise DatasetteError(  9079 DatasetteError 194
116 raise DatasetteError(str(e), title="Invalid SQL", status=400)  9093 DatasetteError 194
117 raise DatasetteError(str(e))  9096 DatasetteError 194
118 except DatasetteError:  9098 DatasetteError 194
119 raise DatasetteError("""  9206 DatasetteError 194
120 raise DatasetteError(str(e), title="Invalid SQL", status=400)  9212 DatasetteError 194
121 raise DatasetteError(str(e))  9215 DatasetteError 194
122 except DatasetteError:  9217 DatasetteError 194
123 raise DatasetteError("sql= is not allowed", status=400)  7913 DatasetteError 194
124 raise DatasetteError("Database download is forbidden", status=403)  7943 DatasetteError 194
125 raise DatasetteError("Cannot search by that column", status=400)  8288 DatasetteError 194
126 raise DatasetteError("Cannot sort table by {}".format(sort))  8315 DatasetteError 194
127 raise DatasetteError("Cannot sort table by {}".format(sort_desc))  8321 DatasetteError 194
128 raise DatasetteError("Cannot use _sort and _sort_desc at the same time")  8324 DatasetteError 194
129 raise DatasetteError("_size must be a positive integer", status=400)  8437 DatasetteError 194
130 raise DatasetteError(  8440 DatasetteError 194
131 raise DatasetteError("_facet= is not allowed", status=400)  8469 DatasetteError 194
132 class BaseView(RenderMixin):  8975 RenderMixin 195
133 class IndexView(RenderMixin):  7853 RenderMixin 195
134 class JsonDataView(RenderMixin):  8883 RenderMixin 195
135 class DatabaseView(BaseView):  7908 BaseView 196
136 class DatabaseDownload(BaseView):  7939 BaseView 196
137 class RowTableShared(BaseView):  7981 BaseView 196
138 data["rows"] = convert_specific_columns_to_json(  9244 convert_specific_columns_to_json 197

Advanced export

JSON shape: default, array

CSV options:

CREATE TABLE [usages] (
               [line_id] INTEGER   REFERENCES [lines]([id]),
   [definition_id] INTEGER   REFERENCES [definitions]([id])
        )
Powered by Datasette · Query took 2.534ms