| 1 |
.. -*- rst -*- |
| 2 |
|
| 3 |
.. highlight:: c |
| 4 |
|
| 5 |
grn_expr |
| 6 |
======== |
| 7 |
|
| 8 |
`grn_expr` is an :c:type:`grn_obj` that represents an expression. Here |
| 9 |
is a list of what expression can do: |
| 10 |
|
| 11 |
* Expression can apply some operations to a record by |
| 12 |
:c:func:`grn_expr_exec`. |
| 13 |
* Expression can represents search condition. :c:func:`grn_table_select` |
| 14 |
can select records that match against the search condition represented |
| 15 |
by expression. |
| 16 |
|
| 17 |
There are two string representations of expression: |
| 18 |
|
| 19 |
* :doc:`/reference/grn_expr/query_syntax` |
| 20 |
* :doc:`/reference/grn_expr/script_syntax` |
| 21 |
|
| 22 |
:c:func:`grn_expr_parse` parses string represented expression and |
| 23 |
appends the parsed expression to another expression. |
| 24 |
|
| 25 |
Example |
| 26 |
------- |
| 27 |
|
| 28 |
TODO... |
| 29 |
|
| 30 |
Reference |
| 31 |
--------- |
| 32 |
|
| 33 |
.. note:: |
| 34 |
We are currently switching to automatic generation using Doxygen. |