I think these problems we need to solve regardless of DDL. Sergi
On 21 июля 2016 г., 16:40, Alexey Goncharuk <[email protected]> wrote: > Suppose I have a PersonKey {int id;} class and Person {@SqlQueryField int > id; @SqlQueryField String name; @SqlQueryField int age;} class. > > How would an insert statement look like? > INSERT INTO Person (_key, _val) values (...) > INSERT INTO Person (_key, _val, id, name, age) values (...) -> Obviously > will not be usable from any console unless we are able to parse "new > PersonKey(1)" statements. > > INSERT INTO Person (id, name, age) values (...) -> How do we know how to > construct the PersonKey? Most likely I am missing something, but this is > not clear for me so far. >
