diff options
author | James Moger <james.moger@gitblit.com> | 2016-04-04 19:17:43 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2016-04-04 19:17:43 -0400 |
commit | 27979f07905dbf95b478a48babc99643d71bfdec (patch) | |
tree | 9c5cc0c9f72d30d0cf6747cc62b3452fa8020c37 /src/main/java/com/iciql/Db.java | |
parent | 13b08bb1e5a955650289c1c2d548883bfeac0de9 (diff) | |
download | iciql-27979f07905dbf95b478a48babc99643d71bfdec.tar.gz iciql-27979f07905dbf95b478a48babc99643d71bfdec.zip |
Allow selecting a column from a table
Diffstat (limited to 'src/main/java/com/iciql/Db.java')
-rw-r--r-- | src/main/java/com/iciql/Db.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/iciql/Db.java b/src/main/java/com/iciql/Db.java index 088fc30..d0756bc 100644 --- a/src/main/java/com/iciql/Db.java +++ b/src/main/java/com/iciql/Db.java @@ -140,6 +140,10 @@ public class Db implements AutoCloseable { return x; } + static <X> boolean isToken(X x) { + return TOKENS.containsKey(x); + } + static Token getToken(Object x) { return TOKENS.get(x); } |