0

If I create a new custom table directly in the database (mysql/wordpress), is there a way to access that table using the civicrm api (read and/or write)?

2

1 Answer 1

0

The short answer is no. I assume your table doesn't represent an entity or you would have just created it as an entity and then it would be available to the api.

You can always use CRM_Core_DAO::executeQuery() - it's not technically api but it's used everywhere.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.