yahoo / squidb

SquiDB is a SQLite database library for Android and iOS
https://github.com/yahoo/squidb/wiki
Apache License 2.0
1.31k stars 132 forks source link

Table aliasing doesn't handle properties correctly #152

Closed sbosley closed 8 years ago

sbosley commented 8 years ago

When aliasing a table (or view/subquery) using as(), we need to make sure that the internal property array it holds is properly qualified to the aliased version of table. It would also be good if table aliasing were reversible (e.g. go back to the unaliased table) for the sake of a better mapToModel function.

sbosley commented 8 years ago

Closed by #150