<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Developer &amp; Automation :: DbGate</title>
    <link>https://dbgate.io/dbgate-classic/developer/index.html</link>
    <description>Go beyond the GUI and put DbGate to work in your own tools and pipelines. Automate exports, imports and deployments with JavaScript that runs in the app or from the command line, query GraphQL/OData/OpenAPI endpoints as if they were databases, and extend DbGate with your own plugins for database drivers or file formats. This section also documents the scripting API and the SQL front matter used by the knowledge base.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <atom:link href="https://dbgate.io/dbgate-classic/developer/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>API Connections</title>
      <link>https://dbgate.io/dbgate-classic/developer/api-connections/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://dbgate.io/dbgate-classic/developer/api-connections/index.html</guid>
      <description>DbGate supports connections to REST APIs, GraphQL services, and OData endpoints. These API connections use the same interface patterns as database connections, allowing you to work with APIs and databases in a unified environment.&#xA;API connection support is available in DbGate Premium.&#xA;Looking for API browsing without the desktop app? DbGate Central is a separate, hosted implementation of GraphQL/oData/Shopify connections, reimplemented from the ground up for the browser.&#xA;GraphQL GraphQL connections allow you to interact with GraphQL APIs. DbGate provides schema introspection and query execution capabilities.</description>
    </item>
    <item>
      <title>API documentation</title>
      <link>https://dbgate.io/dbgate-classic/developer/apidoc/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://dbgate.io/dbgate-classic/developer/apidoc/index.html</guid>
      <description>Functions copyStream(input, output, options) ⇒ Promise Copies reader to writer. Used for import, export tables and transfer data between tables&#xA;deployDb(options) Deploys database model stored in modelFolder (table as yamls) to database&#xA;dropAllDbObjects(options) ⇒ Promise Drops all database objects&#xA;executeQuery(options) Executes SQL query&#xA;generateDeploySql(options) Generates query for deploying model into database&#xA;jsonLinesReader(options) ⇒ Promise.&lt;readerType&gt; Reader function, which reads JSNOL file or URL. JSONL format - text file, every line is JSON encoded row.</description>
    </item>
    <item>
      <title>Plugin development</title>
      <link>https://dbgate.io/dbgate-classic/developer/plugin-development/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://dbgate.io/dbgate-classic/developer/plugin-development/index.html</guid>
      <description>DbGate supports creating plugins. Thanks plugin to wizard, it is really simple to create masic plugin. DbGate plugins are NPM (JavaScript) packages, they can have dependencies. (but not native dependencies)&#xA;Now there are 3 types of plugins:&#xA;Theme plugin File format plugin Database driver plugin Install prerequisites You need node.js installed.&#xA;Also you will need Yeoman and yeoman DbGate plugin generator:&#xA;npm install -g yo npm install -g generator-dbgate Create plugin Run following command in console:</description>
    </item>
    <item>
      <title>Scripting</title>
      <link>https://dbgate.io/dbgate-classic/developer/scripting/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://dbgate.io/dbgate-classic/developer/scripting/index.html</guid>
      <description>DbGate consists of several NPM packages, which could be used in nodejs scripts&#xA;Typically you will need these packages:&#xA;dbgate-api - implements utility functions dbgate-plugin-engine - set of connector plugins, implements connection to database and operations specific to given database engine dbgate-plugin-fileformat - if you use export to CSV or XML, these format providers are implemented as external plugins Documentation of API&#xA;Generating script from DbGate Lot of DbGate features are internally implemented with scripting interface. So when you are using some export-like operation, there is somewhere “Generate Shell script” button, which generates nodejs script for you.</description>
    </item>
    <item>
      <title>SQL Front Matter</title>
      <link>https://dbgate.io/dbgate-classic/developer/sql-front-matter/index.html</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://dbgate.io/dbgate-classic/developer/sql-front-matter/index.html</guid>
      <description>SQL front matter is metadata in YAML format at the beginning of SQL file. This concept is inspired by gohugo and Jekyll, which introduced front matter for markdown files. (Front matter in Hugo)&#xA;SQL front matter starts immediately at the SQL file start file mark -- &gt;&gt;&gt; and ends with line containing only -- &lt;&lt;&lt;. Every line of YAML content is prefixed with -- prefix, so that the whole file remains valid SQL.</description>
    </item>
  </channel>
</rss>