LogoLogo
Go to Syntho.AI
Japanese (AI Translated)
Japanese (AI Translated)
  • Welcome to Syntho
  • 概要
    • About Syntho
    • Get started
      • Introduction to data generation methods
      • Use Case: AI-generated synthetic data
      • Use Case: AI-generated synthetic time series data
      • Use Case: Database de-identification
    • Frequently asked questions
  • ワークスペースの設定
    • View workspaces
    • Create a workspace
      • Connect to a database
        • PostgreSQL
        • MySQL / MariaDB
        • Oracle
        • Microsoft SQL Server
        • DB2
        • Databricks
        • Hive
        • SAP Sybase
        • Azure Data Lake Storage (ADLS)
        • Amazon Simple Storage Service (S3)
    • Edit a workspace
    • Delete a workspace
    • Share a workspace
    • Transfer workspace ownership
  • データ生成ジョブの設定
    • Configure table settings
    • Configure column settings
      • AI-powered generation
        • Sequence model
          • Prepare your sequence data
      • Mockers
        • Consistent mapping
        • Supported languages
      • Duplicate
      • Exclude
      • Hash
      • Calculated columns
      • Primary Key / Foreign Key
        • Key generators
    • Manage personally identifiable information (PII)
      • Discover and de-identify PII columns
        • Identify PII columns manually
        • Automatic PII discovery with PII scanner
      • Remove columns from PII list
      • Automatic PII discovery and de-identification in free text columns
      • Supported PII & PHI entities
    • Manage foreign keys
      • Foreign key inheritance
      • Add virtual foreign keys
        • Add virtual foreign keys
        • Use foreign key scanner
        • Import foreign keys via JSON
        • Export foreign keys via JSON
      • Delete foreign keys
      • Circular foreign key references
    • Validate and Synchronize workspace
    • View and adjust generation settings
    • Table relationships
      • Verify foreign keys
      • Synthesize individual tables with automatic key matching
      • De-identify PII columns
  • デプロイ・シント
    • Introduction
      • Syntho architecture
      • Requirements
        • Requirements for Docker deployments
        • Requirements for Kubernetes deployments
      • Access Docker images
        • Using internet
        • Without internet
    • Deploy Syntho using Docker
      • Preparations
      • Deploy using Docker Compose
      • Run the application
      • Manually saving logs
    • Deploy Syntho using Kubernetes
      • Preparations
      • Deploy Ray using Helm
        • Troubleshooting
      • Deploy Syntho using Helm
      • Validate the deployment
      • Troubleshooting
      • Upgrading the applications
    • Manage users and access
      • Single Sign-On (SSO) in Azure
      • Manage admin users
      • Manage non-admin users
    • Logs and monitoring
  • サブセット
    • What is subsetting
    • Verify foreign keys
    • Configure subsetting
  • シンセAPI
    • Syntho REST API
Powered by GitBook
On this page

Was this helpful?

  1. データ生成ジョブの設定
  2. Manage foreign keys
  3. Add virtual foreign keys

Export foreign keys via JSON

外部キーを含む JSON ファイルをエクスポートすると、同じソース・データ構造を共有する複数のワークスペースに外部キーを入力できます。外部キーのJSONファイルをエクスポートするには, 以下の手順に従ってください。:

1.をクリックする。 Foreign Keys タブ 2.をクリックする。Download foreign keys「ボタン. 

ダウンロードされたJSONファイルには外部キーとその設定が含まれます。

以下は、Syntho ワークスペースからダウンロードした外部キー JSON ファイルの例です。:

``json [ { "apply":真の, "fk_columns":[ 患者 ], "fk_schema":"covid_patient_sample_db_synthetic", "fk_table":"出会い", "pk_columns":[ "Id" ], "pk_schema":"covid_patient_sample_db_synthetic", "pk_table":患者 }, { "apply":真の, "fk_columns":[ "支払者" ], "fk_schema":"covid_patient_sample_db_synthetic", "fk_table":"出会い", "pk_columns":[ "Id" ], "pk_schema":"covid_patient_sample_db_synthetic", "pk_table":"支払者" },


この例では, 最初の外部キーカラムは "**PATIENT**,"にある。**encounters**「スキーマ"**covid\_patient\_sample\_db\_synthetic**."この外部キーは、主キー"**Id**"である。**patients**「テーブル, 同じスキーマの下にある, "**covid\_patient\_sample\_db\_synthetic**."
PreviousImport foreign keys via JSONNextDelete foreign keys

Last updated 9 months ago

Was this helpful?