Public Access
extractor erstmal fertig
- er findet fast alle tabellen - quellcode wird entpackt wenn er in einer variable ist
This commit is contained in:
+23
-23
@@ -56,7 +56,7 @@
|
||||
"*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain'))",
|
||||
"code": "(transaction.connection.cursor()).execute(*action_report.update(\n [action_report.extension],\n ['txt'],\n where=action_report.extension == 'plain'))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -73,7 +73,7 @@
|
||||
"kwargs": {
|
||||
"where": "action_report.extension == 'plain'"
|
||||
},
|
||||
"code": "action_report.update([action_report.extension], ['txt'], where=action_report.extension == 'plain')",
|
||||
"code": "action_report.update(\n [action_report.extension],\n ['txt'],\n where=action_report.extension == 'plain')",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
@@ -138,7 +138,7 @@
|
||||
"*act_window.update([act_window.limit], [Null], where=act_window.limit == 0)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*act_window.update([act_window.limit], [Null], where=act_window.limit == 0))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*act_window.update(\n [act_window.limit], [Null],\n where=act_window.limit == 0))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -155,7 +155,7 @@
|
||||
"kwargs": {
|
||||
"where": "act_window.limit == 0"
|
||||
},
|
||||
"code": "act_window.update([act_window.limit], [Null], where=act_window.limit == 0)",
|
||||
"code": "act_window.update(\n [act_window.limit], [Null],\n where=act_window.limit == 0)",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
@@ -177,7 +177,7 @@
|
||||
"*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null)))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*attachment.update(\n [attachment.file_id],\n [attachment.digest],\n where=(attachment.collision == 0)\n | (attachment.collision == Null)))",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('digest') and table.column_exist('collision')"
|
||||
},
|
||||
@@ -195,7 +195,7 @@
|
||||
"kwargs": {
|
||||
"where": "(attachment.collision == 0) | (attachment.collision == Null)"
|
||||
},
|
||||
"code": "attachment.update([attachment.file_id], [attachment.digest], where=(attachment.collision == 0) | (attachment.collision == Null))",
|
||||
"code": "attachment.update(\n [attachment.file_id],\n [attachment.digest],\n where=(attachment.collision == 0)\n | (attachment.collision == Null))",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('digest') and table.column_exist('collision')"
|
||||
},
|
||||
@@ -210,7 +210,7 @@
|
||||
"*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null)))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*attachment.update(\n [attachment.file_id],\n [Concat(Concat(attachment.digest, '-'),\n attachment.collision)],\n where=(attachment.collision != 0)\n & (attachment.collision != Null)))",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('digest') and table.column_exist('collision')"
|
||||
},
|
||||
@@ -228,7 +228,7 @@
|
||||
"kwargs": {
|
||||
"where": "(attachment.collision != 0) & (attachment.collision != Null)"
|
||||
},
|
||||
"code": "attachment.update([attachment.file_id], [Concat(Concat(attachment.digest, '-'), attachment.collision)], where=(attachment.collision != 0) & (attachment.collision != Null))",
|
||||
"code": "attachment.update(\n [attachment.file_id],\n [Concat(Concat(attachment.digest, '-'),\n attachment.collision)],\n where=(attachment.collision != 0)\n & (attachment.collision != Null))",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('digest') and table.column_exist('collision')"
|
||||
},
|
||||
@@ -295,7 +295,7 @@
|
||||
"*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*model_data.update(\n [model_data.module], ['ir'],\n where=((model_data.module == 'res')\n & (model_data.fs_id == 'model_data_sync_button'))))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -312,7 +312,7 @@
|
||||
"kwargs": {
|
||||
"where": "(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button')"
|
||||
},
|
||||
"code": "model_data.update([model_data.module], ['ir'], where=(model_data.module == 'res') & (model_data.fs_id == 'model_data_sync_button'))",
|
||||
"code": "model_data.update(\n [model_data.module], ['ir'],\n where=((model_data.module == 'res')\n & (model_data.fs_id == 'model_data_sync_button')))",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
@@ -334,7 +334,7 @@
|
||||
"*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed'))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.state], ['activated'],\n where=sql_table.state == 'installed'))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -351,7 +351,7 @@
|
||||
"kwargs": {
|
||||
"where": "sql_table.state == 'installed'"
|
||||
},
|
||||
"code": "sql_table.update([sql_table.state], ['activated'], where=sql_table.state == 'installed')",
|
||||
"code": "sql_table.update(\n [sql_table.state], ['activated'],\n where=sql_table.state == 'installed')",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -365,7 +365,7 @@
|
||||
"*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled'))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*sql_table.update(\n [sql_table.state], ['not activated'],\n where=sql_table.state == 'uninstalled'))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -382,7 +382,7 @@
|
||||
"kwargs": {
|
||||
"where": "sql_table.state == 'uninstalled'"
|
||||
},
|
||||
"code": "sql_table.update([sql_table.state], ['not activated'], where=sql_table.state == 'uninstalled')",
|
||||
"code": "sql_table.update(\n [sql_table.state], ['not activated'],\n where=sql_table.state == 'uninstalled')",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -396,7 +396,7 @@
|
||||
"*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*model_data_sql_table.update(\n [model_data_sql_table.module], ['ir'],\n where=((model_data_sql_table.module == 'res')\n & (model_data_sql_table.fs_id.in_(button_fs_ids)))))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -413,7 +413,7 @@
|
||||
"kwargs": {
|
||||
"where": "(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids)"
|
||||
},
|
||||
"code": "model_data_sql_table.update([model_data_sql_table.module], ['ir'], where=(model_data_sql_table.module == 'res') & model_data_sql_table.fs_id.in_(button_fs_ids))",
|
||||
"code": "model_data_sql_table.update(\n [model_data_sql_table.module], ['ir'],\n where=((model_data_sql_table.module == 'res')\n & (model_data_sql_table.fs_id.in_(button_fs_ids))))",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
@@ -435,7 +435,7 @@
|
||||
"*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item'))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*model_data.update(\n columns=[model_data.model],\n values=[cls.__name__],\n where=(model_data.model ==\n 'ir.module.module.config_wizard.item')))",
|
||||
"phase": "before_super"
|
||||
},
|
||||
{
|
||||
@@ -451,7 +451,7 @@
|
||||
"values": "[cls.__name__]",
|
||||
"where": "model_data.model == 'ir.module.module.config_wizard.item'"
|
||||
},
|
||||
"code": "model_data.update(columns=[model_data.model], values=[cls.__name__], where=model_data.model == 'ir.module.module.config_wizard.item')",
|
||||
"code": "model_data.update(\n columns=[model_data.model],\n values=[cls.__name__],\n where=(model_data.model ==\n 'ir.module.module.config_wizard.item'))",
|
||||
"phase": "before_super"
|
||||
}
|
||||
]
|
||||
@@ -475,7 +475,7 @@
|
||||
"kwargs": {
|
||||
"action": "'add'"
|
||||
},
|
||||
"code": "table_h.index_action([queue.scheduled_at.nulls_first, queue.expected_at.nulls_first, queue.dequeued_at, queue.name], action='add')",
|
||||
"code": "table_h.index_action([\n queue.scheduled_at.nulls_first,\n queue.expected_at.nulls_first,\n queue.dequeued_at,\n queue.name,\n ], action='add')",
|
||||
"phase": "after_super"
|
||||
}
|
||||
]
|
||||
@@ -520,7 +520,7 @@
|
||||
"*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt'))",
|
||||
"code": "(transaction.connection.cursor()).execute(*ir_translation.update(\n [ir_translation.type],\n ['report'],\n where=ir_translation.type == 'odt'))",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -537,7 +537,7 @@
|
||||
"kwargs": {
|
||||
"where": "ir_translation.type == 'odt'"
|
||||
},
|
||||
"code": "ir_translation.update([ir_translation.type], ['report'], where=ir_translation.type == 'odt')",
|
||||
"code": "ir_translation.update(\n [ir_translation.type],\n ['report'],\n where=ir_translation.type == 'odt')",
|
||||
"phase": "after_super"
|
||||
},
|
||||
{
|
||||
@@ -574,7 +574,7 @@
|
||||
"*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)"
|
||||
],
|
||||
"kwargs": {},
|
||||
"code": "cursor.execute(*sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null))",
|
||||
"code": "(Transaction().connection.cursor()).execute(*sql_table.select(\n sql_table.id, sql_table.minimum_delay,\n where=sql_table.minimum_delay != Null))",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('minimum_delay')"
|
||||
},
|
||||
@@ -592,7 +592,7 @@
|
||||
"kwargs": {
|
||||
"where": "sql_table.minimum_delay != Null"
|
||||
},
|
||||
"code": "sql_table.select(sql_table.id, sql_table.minimum_delay, where=sql_table.minimum_delay != Null)",
|
||||
"code": "sql_table.select(\n sql_table.id, sql_table.minimum_delay,\n where=sql_table.minimum_delay != Null)",
|
||||
"phase": "after_super",
|
||||
"condition": "table.column_exist('minimum_delay')"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user