home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 377067541

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/190#issuecomment-377067541 https://api.github.com/repos/simonw/datasette/issues/190 377067541 MDEyOklzc3VlQ29tbWVudDM3NzA2NzU0MQ== 9599 2018-03-28T23:09:18Z 2018-03-28T23:09:51Z OWNER

Here's how I generated the table for testing this with 3 compound primary keys:

CREATE_SQL = '''
CREATE TABLE compound_three_primary_keys (
    pk1 varchar(30),
    pk2 varchar(30),
    pk3 varchar(30),
    content text,
    PRIMARY KEY (pk1, pk2, pk3)
);'''
alphabet = 'abcdefghijklmnopqrstuvwxyz'
for a in alphabet:
    for b in alphabet:
        for c in alphabet:
            print('''
INSERT INTO compound_three_primary_keys VALUES ('{}', '{}', '{}', '{}');
        '''.strip().format(a, b, c, '{}-{}-{}-{}-{}-{}'.format(a,b,c,a,b,c)))
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
309558826  
Powered by Datasette · Queries took 0.949ms · About: github-to-sqlite