Simon Vig Therkildsen

Results 48 comments of Simon Vig Therkildsen

I'm afraid that's not possible. The caller will have to limit in their query if you want a non-static limit. Eventually I'd like to be able to pass limit as...

Yeah, that's not possible right now. I think it's too hard to do anything but the simplest use-cases with a single annotation. Maybe `@InexactContentUri` should just be killed, and `@ContentUri`...

As well as the previous suggestion, some convenience annotations could be added. E.g. `@IdContentUri` and `@RangeContentUri`.

I'd like to have a `@Version` annotation that can be used on fields annotated with `@Table`, `@DataType` and `@ExecOnCreate`. For now, the full sql used to create the table is...

I've been meaning to add something like [this](https://github.com/SimonVT/cathode/blob/master/cathode/src/main/java/net/simonvt/cathode/util/Cursors.java). Could be changed to use `getColumnIndexOrThrow` as well as adding `get(Type)OrNull` methods. I'm not sure it's worth generating getters for each table...

Added the helper class in e020ecb at least. I think having `idLong()`, `idInt()`, etc, methods is kind of ugly, and I don't really want to make the `@DataType` any more...

I'll just generate the code needed to tie it all together. Separate builder implementations for each table, string comparison on table name to return the right instance.