home / code

usages

138 rows

View and edit SQL

Link rowid line_id definition_id
1 update_help_includes()  29 update_help_includes 1
2 long_description=get_long_description(),  57 get_long_description 2
3 cfg = VersioneerConfig()  450 VersioneerConfig 4
4 root = get_root()  1510 get_root 5
5 root = get_root()  1648 get_root 5
6 root = get_root()  1672 get_root 5
7 root = get_root()  1701 get_root 5
8 root = get_root()  1737 get_root 5
9 root = get_root()  1798 get_root 5
10 cfg = get_config_from_root(root)  1511 get_config_from_root 6
11 cfg = get_config_from_root(root)  1649 get_config_from_root 6
12 cfg = get_config_from_root(root)  1673 get_config_from_root 6
13 cfg = get_config_from_root(root)  1702 get_config_from_root 6
14 cfg = get_config_from_root(root)  1738 get_config_from_root 6
15 cfg = get_config_from_root(root)  1800 get_config_from_root 6
16 raise NotThisMethod("no keywords at all, weird")  1076 NotThisMethod 7
17 raise NotThisMethod("unexpanded keywords, not a git-archive tarball")  1090 NotThisMethod 7
18 raise NotThisMethod("'git rev-parse --git-dir' returned error")  1144 NotThisMethod 7
19 raise NotThisMethod("'git describe' failed")  1154 NotThisMethod 7
20 raise NotThisMethod("'git rev-parse' failed")  1158 NotThisMethod 7
21 raise NotThisMethod("rootdir doesn't start with parentdir_prefix")  1279 NotThisMethod 7
22 raise NotThisMethod("unable to read _version.py")  1306 NotThisMethod 7
23 raise NotThisMethod("no version_json in _version.py")  1313 NotThisMethod 7
24 except NotThisMethod:  1538 NotThisMethod 7
25 except NotThisMethod:  1546 NotThisMethod 7
26 except NotThisMethod:  1557 NotThisMethod 7
27 except NotThisMethod:  1566 NotThisMethod 7
28 @register_vcs_handler("git", "get_keywords")  1043 register_vcs_handler 8
29 @register_vcs_handler("git", "keywords")  1072 register_vcs_handler 8
30 @register_vcs_handler("git", "pieces_from_vcs")  1127 register_vcs_handler 8
31 def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):  1128 run_command 9
32 run_command(GITS, ["add", "--"] + files)  1254 run_command 9
33 do_vcs_install(manifest_in, cfg.versionfile_source, ipy)  1874 do_vcs_install 10
34 ver = versions_from_parentdir(cfg.parentdir_prefix, root, verbose)  1562 versions_from_parentdir 11
35 ver = versions_from_file(versionfile_abs)  1542 versions_from_file 12
36 write_to_version_file(target_versionfile, versions)  1658 write_to_version_file 13
37 write_to_version_file(target_versionfile, versions)  1677 write_to_version_file 13
38 write_to_version_file(target_versionfile, versions)  1706 write_to_version_file 13
39 write_to_version_file(target_versionfile,  1745 write_to_version_file 13
40 rendered += plus_or_dot(pieces)  1347 plus_or_dot 14
41 rendered += plus_or_dot(pieces)  1392 plus_or_dot 14
42 rendered = render_pep440(pieces)  1478 render_pep440 15
43 rendered = render_pep440_pre(pieces)  1480 render_pep440_pre 16
44 rendered = render_pep440_post(pieces)  1482 render_pep440_post 17
45 rendered = render_pep440_old(pieces)  1484 render_pep440_old 18
46 rendered = render_git_describe(pieces)  1486 render_git_describe 19
47 rendered = render_git_describe_long(pieces)  1488 render_git_describe_long 20
48 ver = render(pieces, cfg.style)  1553 render 21
49 raise VersioneerBadRootError(err)  415 VersioneerBadRootError 22
50 return get_versions()["version"]  1579 get_versions 23
51 vers = get_versions(verbose=True)  1616 get_versions 23
52 versions = get_versions()  1650 get_versions 23
53 versions = get_versions()  1674 get_versions 23
54 versions = get_versions()  1703 get_versions 23
55 versions = get_versions()  1729 get_versions 23
56 errors = do_setup()  1918 do_setup 26
57 errors += scan_setup_py()  1919 scan_setup_py 27
58 table_and_format, table_exists  2268 table_exists 31
59 assert config.name in get_headings("config.rst")  2536 get_headings 37
60 s.split("(")[0] for s in get_headings("plugins.rst", "~")  2563 get_headings 37
61 for label in get_labels(filename):  2572 get_labels 38
62 assert_querystring_equal(  2735 assert_querystring_equal 75
63 assert_querystring_equal(  2745 assert_querystring_equal 75
64 assert_footer_links(soup)  3234 assert_footer_links 76
65 assert_footer_links(soup)  3248 assert_footer_links 76
66 assert_footer_links(soup)  3262 assert_footer_links 76
67 assert 'An example SQLite database demonstrating Datasette' == inner_html(  3231 inner_html 77
68 assert 'Test tables description' == inner_html(  3244 inner_html 77
69 assert 'This <em>HTML</em> is escaped' == inner_html(soup.find('h1'))  3256 inner_html 77
70 assert 'Simple <em>primary</em> key' == inner_html(soup.find(  3258 inner_html 77
71 client = TestClient(ds.app().test_client)  4973 TestClient 138
72 ) for a, b, c, content in generate_compound_rows(1001)  5392 generate_compound_rows 139
73 ).replace('None', 'null') for row in generate_sortable_rows(201)  5399 generate_sortable_rows 140
74 "label_column": detect_label_column(column_names),  5737 detect_label_column 143
75 "primary_keys": detect_primary_keys(conn, table),  5735 detect_primary_keys 144
76 type=Config(),  6092 Config 146
77 raise InvalidSql('Statement must be a SELECT')  6331 InvalidSql 153
78 raise InvalidSql(msg)  6334 InvalidSql 153
79 escape_sqlite(pk), (i + start_index)  6264 escape_sqlite 160
80 escape_sqlite(last), (len(rest) + start_index)  6267 escape_sqlite 160
81 dockerfile = make_dockerfile(  6491 make_dockerfile 161
82 rows = conn.execute(detect_fts_sql(table)).fetchall()  6666 detect_fts_sql 165
83 Filter('exact', '=', '"{c}" = :{p}', lambda c, v: '{c} = {v}' if v.isdigit() else '{c} = "{v}"'),  6726 Filter 166
84 Filter('not', '!=', '"{c}" != :{p}', lambda c, v: '{c} != {v}' if v.isdigit() else '{c} != "{v}"'),  6727 Filter 166
85 Filter('contains', 'contains', '"{c}" like :{p}', '{c} contains "{v}"', format='%{}%'),  6728 Filter 166
86 Filter('endswith', 'ends with', '"{c}" like :{p}', '{c} ends with "{v}"', format='%{}'),  6729 Filter 166
87 Filter('startswith', 'starts with', '"{c}" like :{p}', '{c} starts with "{v}"', format='{}%'),  6730 Filter 166
88 Filter('gt', '>', '"{c}" > :{p}', '{c} > {v}', numeric=True),  6731 Filter 166
89 Filter('gte', '\u2265', '"{c}" >= :{p}', '{c} \u2265 {v}', numeric=True),  6732 Filter 166
90 Filter('lt', '<', '"{c}" < :{p}', '{c} < {v}', numeric=True),  6733 Filter 166
91 Filter('lte', '\u2264', '"{c}" <= :{p}', '{c} \u2264 {v}', numeric=True),  6734 Filter 166
92 Filter('glob', 'glob', '"{c}" glob :{p}', '{c} glob "{v}"'),  6735 Filter 166
93 Filter('like', 'like', '"{c}" like :{p}', '{c} like "{v}"'),  6736 Filter 166
94 Filter('isnull', 'is null', '"{c}" is null', '{c} is null', no_argument=True),  6737 Filter 166
95 Filter('notnull', 'is not null', '"{c}" is not null', '{c} is not null', no_argument=True),  6738 Filter 166
96 Filter('isblank', 'is blank', '("{c}" is null or "{c}" = "")', '{c} is blank', no_argument=True),  6739 Filter 166
97 Filter('notblank', 'is not blank', '("{c}" is not null and "{c}" != "")', '{c} is not blank', no_argument=True),  6740 Filter 166
98 link_or_copy(path, os.path.join(datasette_dir, filename))  6508 link_or_copy 171
99 link_or_copy(path, os.path.join(tmp.name, filename))  6617 link_or_copy 171
100 link_or_copy_directory(  6510 link_or_copy_directory 172

Next page

Advanced export

JSON shape: default, array

CSV options:

CREATE TABLE [usages] (
               [line_id] INTEGER   REFERENCES [lines]([id]),
   [definition_id] INTEGER   REFERENCES [definitions]([id])
        )
Powered by Datasette · Query took 17.589ms