CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Appending extra where clause.
Pages: [1]

Author Topic: Appending extra where clause.  (Read 549 times)

Siv

  • I post occasionally
  • **
  • Posts: 94
  • Karma: -17
  • CiviCRM version: 4.6.2
  • CMS version: Drupal 7.44
  • MySQL version: 5.5.24
  • PHP version: 5.3.13
Appending extra where clause.
August 28, 2012, 03:48:56 am
Am using civiCRM 4.2 .Am using CRM_Contact_BAO_Query::apiQuery() function for getting some contact details. i want to append some extra condition to where clause. Can any one advice me how i can do this?

Thanks in advance...

Siv

  • I post occasionally
  • **
  • Posts: 94
  • Karma: -17
  • CiviCRM version: 4.6.2
  • CMS version: Drupal 7.44
  • MySQL version: 5.5.24
  • PHP version: 5.3.13
Re: Appending extra where clause.
September 02, 2012, 10:16:59 pm
I posted this around 6 days before but i didn't get any reply.it means anything wrong with my question or not understandable or no answer for this question ?
can you please advise me on this?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Appending extra where clause.
September 03, 2012, 01:57:17 am
Hi,

You didn't explain what you wanted to do in details (adding a where clause is a bit too abstract).

I would suggest you to use the api and not use directly CRM_contact_BAO_query (and check out the examples in api/v3/examples)

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Appending extra where clause.

This forum was archived on 2017-11-26.