Titanium JIRA Archive
Alloy (ALOY)

[ALOY-222] Process SQL migration column names at compile time

GitHub Issuen/a
TypeStory
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2013-11-07T04:22:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsRuntime, XML
Labelsn/a
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-08-28T09:49:14.000+0000
Updated2014-02-04T00:34:55.000+0000

Description

Currently the column names for a SQL migration go through normalization at runtime in the sql.js sync adapter in the SQLiteMigrateDB() function. We should find a way to do this normalization at compile time to improve performance.

Comments

  1. Tony Lukasavage 2013-11-07

    This would require using AST parsing on the model since it is javascript, not JSONm which would lengthen the compile process. Since no one has ever noted the normalization as a performance issue, and it is totally avoidable with proper type naming, I am closing this ticket.

JSON Source