지금 지원 담당자와 채팅
지원 담당자와 채팅

Toad Edge 2.3 - User Guide

JSON Support and Editor

With Toad Edge you can view JSON columns structure clearly in multiple places and you can also edit specific JSON values using an editor with support of Content Assist, Quick Fixes, and other features that support native JSON (JavaScript Object Notation) data types.

To view JSON column values

  1. In Object Explorer, locate your database/schema and then the table that contains a JSON data type column
  2. Expand the table node, the columns node and then finally the node of the specific JSON column

To view detailed structure of JSON values

  1. Double-click any table in Object Explorer with a JSON data type column to open it in Object Detail)
  2. In Object Detail, switch to the Data tab
  3. Right-click a value and select Define in Editor to open the value in JSON Editor
  4. The structure of the specific JSON value is then displayed in Outline View
JSON Editor

To edit values in JSON Editor

  1. Double-click any table in Object Explorer with a JSON data type column to open it in Object Detail)
  2. In Object Detail, switch to the Data tab
  3. Open a JSON value in JSON Editor by either:
    • Right-clicking the value and selecting Define in Editor
    • Double-clicking the value and clicking the edit icon

JSON Editor has two especially notable features:

  • Content Assist (CTRL (⌘) + SPACE) - suggests JSON templates (see Templates for more information)
  • Quick Fix - offers simple solutions to syntax errors, use them by right-clicking an underlined part of the JSON value and selecting a fix
Toolbar button Name Description
Brackets Highlighting Toggles brackets highlighting. Corresponding starting/ending brackets are highlighted in the same color
Brackets Content Highlighting

Toggles brackets content highlighting. Bracket values of the same depth are highlighted in the same color

Vertical Layout Switches the editor into vertical layout
Horizontal Layout Switches the editor into horizontal layout
Apply Applies changes made to a value
Cancel Discards changes made to a value

Management of BLOBs

There are several tools that can be used to work with BLOBs (Binary large objects). You can open them in application of your choice and you can also import/export BLOB values directly in Object Detail.

To view the contents of a BLOB value

  1. Open a table with BLOB values in Object Detail and switch to the Data tab
  2. Double-click any BLOB value to open it in its associated application

NOTE: The application in which the BLOB value will be opened depends on current settings. See BLOB Viewers

To export BLOB values

  1. Open a table with BLOB values in Object Detail and switch to the Data tab
  2. Right-click any BLOB value and select Export BLOB to File
  3. Choose the destination for the file and click Save

To import BLOB values

  1. Open a table with BLOB values in Object Detail and switch to the Data tab
  2. Right-click any BLOB value and select Import BLOB from File
  3. Select the file that you would like to import as a BLOB value and click Open

NOTE: The imported file must not exceed the maximum size of the destination BLOB column type. The maximum size of a BLOB column value of each type is:

  • TINYBLOB - 255 bytes
  • BLOB - 64 KB
  • MEDIUMBLOB - 16 MB
  • LONGBLOB - 4GB

Run Stored Procedures and Functions

Procedures and functions stored in your database can be executed right from the Object Explorer. Once the procedure/function is executed, you can display the results in the Run Routines window. See Run Routines for more information.

To run a stored procedure

  • Right-click a procedure/function and select Run

  • If your procedure or function accepts parameters, you will be able to enter them before execution in the Set Input Parameters window

Snapshots

In Toad Edge, snapshots are a way of storing database structure (without data) as a readable JSON file. This file can be subsequently used as a create script source or as a Schema Compare source/target in Continuous Integration and Delivery (CI/CD).

There is also another type of snapshot - baseline snapshot. It is nearly identical to regular snapshot except it can be used in CI/CD in the Compare database with baseline build step. This build step will return an error if the database is different from the baseline snapshot. See Continuous Integration and Delivery Wizard for more information.

To take a snapshot of a database

  1. In Object Explorer, right-click any database and select Take Snapshot
  2. Change the snapshot name if you wish. Then click OK

Snapshots are stored in the Toad Edge folder structure. You can access the snapshot files in Snapshots View.

관련 문서

The document was helpful.

평가 결과 선택

I easily found the information I needed.

평가 결과 선택