home / fixtures

compound_primary_key

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

2 rows

✎ View and edit SQL

This data as json, testall, testnone, testresponse, CSV (advanced)

Link pk1 pk2 content
a,b a b c
a/b,.c-d a/b .c-d c

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE compound_primary_key (
  pk1 varchar(30),
  pk2 varchar(30),
  content text,
  PRIMARY KEY (pk1, pk2)
);
Powered by Datasette · Queries took 11.305ms · Data license: Apache License 2.0 · Data source: tests/fixtures.py · About: About Datasette