Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 954 Bytes

extensions.md

File metadata and controls

28 lines (18 loc) · 954 Bytes

Extension Operations

pgm.createExtension( extension )

Install postgres extension(s) - postgres docs

Arguments:

  • extension [string or array of strings] - name(s) of extensions to install
  • options [object] - options:
    • ifNotExists [boolean] - default false
    • schema [string] - the name of the schema in which to install the extension's objects

Aliases: addExtension Reverse Operation: dropExtension


pgm.dropExtension( extension )

Un-install postgres extension(s) - postgres docs

Arguments:

  • extension [string or array of strings] - name(s) of extensions to install
  • drop_options [object] - options:
    • ifExists [boolean] - drops extension only if it exists
    • cascade [boolean] - drops also dependent objects