1. 11 May, 2017 4 commits
  2. 10 May, 2017 1 commit
    • Geofrey Ernest's avatar
      Evaluate field expression when selecting on dummy tables · c6442256
      Geofrey Ernest authored
      This commit ensures the field expression is evaluated when selecting from nothing.
      
      For instance you can
      
      ```
      select 10, now();
      ```
      
      This query will return a row of two values, 10 and `time.Time`.
      
      This functionality is handy when we try to implement the pg_sleep function to slow down queries.
      
      so we can do something like
      
      ```
      select 1;select sleep(100);select 2;
       ```
      c6442256
  3. 08 May, 2017 3 commits
  4. 07 May, 2017 2 commits
    • Geofrey Ernest's avatar
      Add support for interactive mode · 22545092
      Geofrey Ernest authored
      This commit adds `-i` flag which will drop you in an interactive shell.
      
      You can run queries as you do with normal ql tool in the interactive shell.
      
      At the moment there are two utility commands in the ql shell.
      
      `\clear` which will clear your terminal( This only works on linux and darwin.
      
      `\exit` exits the interactive sjell
      
      `\q` is an alias for `\exit`
      
      Eveverything else is interpreted as a ql query
      22545092
    • Geofrey Ernest's avatar
      improve flags · 05670cdf
      Geofrey Ernest authored
      This commit,
      - refactor command parsing, all the command flags are stored in a config struct.
      
      -  add -h flag. This flag shows help message
      05670cdf
  5. 05 May, 2017 5 commits
  6. 04 May, 2017 1 commit
    • Geofrey Ernest's avatar
      Fix scanning of dummy table values · 53753359
      Geofrey Ernest authored
      This PR fixes proper scanning of rows returned  when selecting from dummy table.
      
      Take for instance  `select 14`  .Previously we were taking the internal representation of value 14 which is idealInt(14). The driverRows.Next was not aware of the idealInt value.
      
      This PR fix this by properly casting idealTypes (idealInt,idealFloat etc) to proper go types.
      53753359
  7. 03 May, 2017 2 commits
  8. 02 May, 2017 3 commits
  9. 06 Apr, 2017 1 commit
  10. 03 Apr, 2017 1 commit
  11. 01 Apr, 2017 1 commit
  12. 31 Mar, 2017 1 commit
  13. 30 Mar, 2017 5 commits
  14. 29 Mar, 2017 2 commits
  15. 27 Mar, 2017 3 commits
  16. 26 Mar, 2017 5 commits