Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
api.do?function=query&table=generic&sql=select name from db_person where login_name IS NOT NULL

This query will show tasks which do not have 'Details' entered i.e details field is blank.

Code Block
api.do?function=query&table=generic&sql=select summary from db_task where detail like ''

 

join-with (Optional)

If you want the table to be joined with another table, you specify the 'join-with' parameter. This will be of the form <table-name>.<column-name>. The main table (specified by the table parameter) will be joined on its primary key with the table and column specified with the 'join-with' parameter. For example to fetch a list of tasks assigned to user with id 7 with project phase 1, you should specify :

...