Skip to content

Instantly share code, notes, and snippets.

@zindel
Created October 18, 2016 15:12
Show Gist options
  • Save zindel/930cddae24a927310ae1c5b662c965b3 to your computer and use it in GitHub Desktop.
Save zindel/930cddae24a927310ae1c5b662c965b3 to your computer and use it in GitHub Desktop.
(study417)~/dev/study417 $ rex shell rex.db -E tweak.meta --set=db=pgsql:study417
Type 'help' for more information, 'exit' to quit the shell.
study417$ /meta(exists(column?table='participant_group'&name='title'))
| exists(column?table='participant_group'&name='title') |
-+-------------------------------------------------------+-
| false |
study417$
(study417)~/dev/study417 $ workon study
(study)~/dev/study $ rex shell rex.db -E tweak.meta --set=db=pgsql:study
Type 'help' for more information, 'exit' to quit the shell.
study$ /meta(exists(column?table='participant_group'&name='title'))
| exists(column?table='participant_group'&name='title') |
-+-------------------------------------------------------+-
| true |
study$
(study)~/dev/study $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment