LogoLogo
Go to Syntho.AI
Dutch (AI Translated)
Dutch (AI Translated)
  • Welcome to Syntho
  • Overzicht
    • 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
  • Werkruimten instellen
    • 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
  • Een gegevensgeneratietaak configureren
    • Configure table settings
    • Configure column settings
      • AI-powered generation
        • Sequence model
          • Prepare your sequence data
      • Mockers
        • Consistent mapping
        • Supported languages
      • Duplicate
      • Exclude
      • Hashing
      • Calculated columns
      • Primary Key / Foreign Key
    • 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
  • Syntho implementeren
    • 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
  • Subsetting
    • What is subsetting
    • Verify foreign keys
    • Configure subsetting
  • Syntho API
    • Syntho REST API
Powered by GitBook
On this page

Was this helpful?

  1. Een gegevensgeneratietaak configureren
  2. Manage foreign keys
  3. Add virtual foreign keys

Export foreign keys via JSON

Je kunt een JSON-bestand met foreign keys exporteren om ze te vullen in meerdere workspaces die dezelfde brongegevensstructuur delen. Om een foreign key JSON bestand te exporteren, volg deze stappen:

  1. Navigeer naar de Foreign Keys tab.

  2. Klik op de knop "Download foreign keys" knop.

Het gedownloade JSON-bestand bevat de vreemde sleutels en hun configuraties.

Hieronder staat een voorbeeld van een foreign key JSON-bestand dat is gedownload van de Syntho workspace:

[
   {
      "apply":Echt,
      "fk_kolommen":[
         "PATIËNT
      ],
      "fk_schema:"covid_patient_sample_db_synthetic",
      "fk_table":"ontmoetingen",
      "pk_kolommen":[
         "Id"
      ],
      "pk_schema":"covid_patient_sample_db_synthetic",
      "pk_table":"patiënten
   },
   {
      "toepassen":Echt,
      "fk_kolommen":[
         "BETALER"
      ],
      "fk_schema:"covid_patient_sample_db_synthetic",
      "fk_table":"ontmoetingen",
      "pk_kolommen":[
         "Id"
      ],
      "pk_schema":"covid_patient_sample_db_synthetic",
      "pk_table":"betalers".
   },

In dit voorbeeld, de eerste foreign key kolom is "PATIENT," in de "encounters" tabel onder het schema "covid_patient_sample_db_synthetic." Deze vreemde sleutel is gekoppeld aan de primaire sleutel "Id" in de "patients" tafel, die onder hetzelfde schema valt, "covid_patient_sample_db_synthetic."

PreviousImport foreign keys via JSONNextDelete foreign keys

Last updated 11 months ago

Was this helpful?