Diff of /examples/sqlgen/load_mysql_schema.py [9c0a10] .. [f16399]  Maximize  Restore

Switch to unified view

a/examples/sqlgen/load_mysql_schema.py b/examples/sqlgen/load_mysql_schema.py
...
...
83
83
84
many_to_1 = goal.compile(
84
many_to_1 = goal.compile(
85
  'schema.many_to_1($from_table, $to_table, $from_columns, $to_columns)')
85
  'schema.many_to_1($from_table, $to_table, $from_columns, $to_columns)')
86
86
87
links_to = goal.compile(
87
links_to = goal.compile(
88
  'schema.links_to(%depth, $from_table, $to_table, $joins)')
88
  'schema.links_to($depth, $from_table, $to_table, $joins)')
89
89
90
many_to_1_to = goal.compile(
90
many_to_1_to = goal.compile(
91
  'schema.many_to_1(%to_table, $end_table, $to_columns, $end_columns)')
91
  'schema.many_to_1($to_table, $end_table, $to_columns, $end_columns)')
92
92
93
def _links_to(engine, depth):
93
def _links_to(engine, depth):
94
    ans = False
94
    ans = False
95
    if depth == 1:
95
    if depth == 1:
96
        with many_to_1.prove(engine) as gen1:
96
        with many_to_1.prove(engine) as gen1:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks