MCPcopy Create free account
hub / github.com/explorerhq/sql-explorer / showSchema

Method showSchema

explorer/src/js/explorer.js:192–204  ·  view source on GitHub ↗
(noAutofocus)

Source from the content-addressed store, hash-verified

190 }
191
192 showSchema(noAutofocus) {
193 if (noAutofocus === true) {
194 $("#schema_frame").addClass("no-autofocus");
195 }
196 $("#query_area").removeClass("col").addClass("col-9");
197 var schema$ = $("#schema");
198 schema$.addClass("col-md-3");
199 schema$.show();
200 $("#show_schema_button").hide();
201 $("#hide_schema_button").show();
202 cookie.set("schema_sidebar_open", 'true');
203 return false;
204 }
205
206 hideSchema() {
207 $("#query_area").removeClass("col-9").addClass("col");

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected