Public Access
extractor erstmal fertig
- er findet fast alle tabellen - quellcode wird entpackt wenn er in einer variable ist
This commit is contained in:
+20
-20
@@ -88,7 +88,7 @@
|
||||
"*table.update([table.user], [table.create_uid])"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.user], [table.create_uid]))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update([table.user], [table.create_uid]))",
|
||||
"phase": "after_super",
|
||||
"condition": "not user_exists"
|
||||
},
|
||||
@@ -159,7 +159,7 @@
|
||||
"*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model], [model.model],\n from_=[model],\n where=table._temp_model == model.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -178,7 +178,7 @@
|
||||
"from_": "[model]",
|
||||
"where": "table._temp_model == model.id"
|
||||
},
|
||||
"code": "table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)",
|
||||
"code": "table.update(\n [table.model], [model.model],\n from_=[model],\n where=table._temp_model == model.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -248,7 +248,7 @@
|
||||
"*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model], [model.model],\n from_=[model],\n where=table._temp_model == model.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -267,7 +267,7 @@
|
||||
"from_": "[model]",
|
||||
"where": "table._temp_model == model.id"
|
||||
},
|
||||
"code": "table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)",
|
||||
"code": "table.update(\n [table.model], [model.model],\n from_=[model],\n where=table._temp_model == model.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -353,7 +353,7 @@
|
||||
"*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model, table.field],\n [field.model, field.name],\n from_=[field],\n where=table._temp_field == field.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')"
|
||||
},
|
||||
@@ -372,7 +372,7 @@
|
||||
"from_": "[field]",
|
||||
"where": "table._temp_field == field.id"
|
||||
},
|
||||
"code": "table.update([table.model, table.field], [field.model, field.name], from_=[field], where=table._temp_field == field.id)",
|
||||
"code": "table.update(\n [table.model, table.field],\n [field.model, field.name],\n from_=[field],\n where=table._temp_field == field.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('field') and table_h.column_is_type('field', 'INTEGER')"
|
||||
},
|
||||
@@ -442,7 +442,7 @@
|
||||
"*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model], [model.model],\n from_=[model],\n where=table._temp_model == model.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -461,7 +461,7 @@
|
||||
"from_": "[model]",
|
||||
"where": "table._temp_model == model.id"
|
||||
},
|
||||
"code": "table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)",
|
||||
"code": "table.update(\n [table.model], [model.model],\n from_=[model],\n where=table._temp_model == model.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -592,7 +592,7 @@
|
||||
"*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id))",
|
||||
"code": "(transaction.connection.cursor()).execute(*table.update(\n [table.model], [model.model],\n from_=[model],\n where=table._temp_model == model.id))",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -611,7 +611,7 @@
|
||||
"from_": "[model]",
|
||||
"where": "table._temp_model == model.id"
|
||||
},
|
||||
"code": "table.update([table.model], [model.model], from_=[model], where=table._temp_model == model.id)",
|
||||
"code": "table.update(\n [table.model], [model.model],\n from_=[model],\n where=table._temp_model == model.id)",
|
||||
"phase": "before_super",
|
||||
"condition": "table_h.column_exist('model') and table_h.column_is_type('model', 'INTEGER')"
|
||||
},
|
||||
@@ -674,7 +674,7 @@
|
||||
"*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.sequence_type],\n sequence_type.select(\n sequence_type.id,\n where=sequence_type.code == table.code)))",
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('code')"
|
||||
},
|
||||
@@ -691,7 +691,7 @@
|
||||
"sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table.update([table.sequence_type], sequence_type.select(sequence_type.id, where=sequence_type.code == table.code))",
|
||||
"code": "table.update(\n [table.sequence_type],\n sequence_type.select(\n sequence_type.id,\n where=sequence_type.code == table.code))",
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('code')"
|
||||
},
|
||||
@@ -708,7 +708,7 @@
|
||||
"kwargs": {
|
||||
"where": "sequence_type.code == table.code"
|
||||
},
|
||||
"code": "sequence_type.select(sequence_type.id, where=sequence_type.code == table.code)",
|
||||
"code": "sequence_type.select(\n sequence_type.id,\n where=sequence_type.code == table.code)",
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('code')"
|
||||
},
|
||||
@@ -786,7 +786,7 @@
|
||||
"kwargs": {
|
||||
"where": "model.id == sql_table.action_model"
|
||||
},
|
||||
"code": "model.select(model.model, where=model.id == sql_table.action_model)",
|
||||
"code": "model.select(\n model.model, where=model.id == sql_table.(model.select(\n model.model, where=model.id == sql_table.action_model)))",
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')"
|
||||
},
|
||||
@@ -801,7 +801,7 @@
|
||||
"*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))]))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.action],\n [Concat((model.select(\n model.model, where=model.id == sql_table.action_model)), Concat(\n '|', sql_table.action_function))]))",
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')"
|
||||
},
|
||||
@@ -817,7 +817,7 @@
|
||||
"[Concat(action_model, Concat('|', sql_table.action_function))]"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "sql_table.update([sql_table.action], [Concat(action_model, Concat('|', sql_table.action_function))])",
|
||||
"code": "sql_table.update(\n [sql_table.action],\n [Concat((model.select(\n model.model, where=model.id == sql_table.action_model)), Concat(\n '|', sql_table.action_function))])",
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')"
|
||||
},
|
||||
@@ -832,7 +832,7 @@
|
||||
"'action_model'"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "table_h.drop_column('action_model')",
|
||||
"code": "table_h.drop_column('(model.select(\n model.model, where=model.id == sql_table.action_model))')",
|
||||
"phase": "after_super",
|
||||
"condition": "table_h.column_exist('action_model') and table_h.column_exist('action_function')"
|
||||
},
|
||||
@@ -909,7 +909,7 @@
|
||||
"*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*table.update(\n [table.model],\n [view.select(view.model, where=view.id == table.view)],\n where=table.model == Null))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -927,7 +927,7 @@
|
||||
"kwargs": {
|
||||
"where": "table.model == Null"
|
||||
},
|
||||
"code": "table.update([table.model], [view.select(view.model, where=view.id == table.view)], where=table.model == Null)",
|
||||
"code": "table.update(\n [table.model],\n [view.select(view.model, where=view.id == table.view)],\n where=table.model == Null)",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user