home / fixtures

complex_foreign_keys

Data license: Apache License 2.0 · Data source: tests/fixtures.py

1 row

View and edit SQL

pk f1 f2 f3
1 hello 1 world 2 hello 1

Advanced export

JSON shape: default, array, object

CSV options:

CREATE TABLE "complex_foreign_keys" (
  pk varchar(30) primary key,
  f1 text,
  f2 text,
  f3 text,
  FOREIGN KEY ("f1") REFERENCES [simple_primary_key](id),
  FOREIGN KEY ("f2") REFERENCES [simple_primary_key](id),
  FOREIGN KEY ("f3") REFERENCES [simple_primary_key](id)
)
Powered by Datasette · Query took 16.526ms · Data license: Apache License 2.0 · Data source: tests/fixtures.py