deno.com

method DatabaseSync.prototype.enableLoadExtension

#DatabaseSync.prototype.enableLoadExtension(allow: boolean): void

Enables or disables the loadExtension SQL function, and the loadExtension() method. When allowExtension is false when constructing, you cannot enable loading extensions for security reasons.

Parameters #

#allow: boolean

Whether to allow loading extensions.

Return Type #

void