• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

SearchEngine

Some tooltip text!
• 1 minute to read
 • 1 minute to read

An in-depth guide to the CRMScript SearchEngine

The SearchEngine is a tool for building SQL queries by adding fields, criteria, and data.

It was initially created for searching and fetching data from the database. Thereby its name. Since then, it has been extended with features for inserting and updating rows.

When you construct a query, the SearchEngine automatically joins tables using dot-syntax - for example ticket.title.

All queries are sent to NetServer instead of directly to the database. This ensures that sentry rules are followed. It is possible to circumvent this behavior, but if you do, you need to handle any security implications yourself.

Note

Udefs and interests are not available through SearchEngine! You need to access these through NetServer entities.

If SearchEngine is your only option or you need to be able to profile these fields, they could be synchronized to an extra field with a regular task.

Related content

  • Database basics
  • Dot-syntax
  • Building a query
  • Running a query
  • Exploring search results
  • Insert, update, and delete
  • Using the SearchEngine class (blog post)
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top