## Field


Typed query-field expression builder.


Usage

``` python
Field(path)
```


Comparisons create immutable [FieldPredicate](FieldPredicate.md#recap.FieldPredicate) values; [asc](Field.md#recap.Field.asc) and [desc](Field.md#recap.Field.desc) create [FieldOrdering](FieldOrdering.md#recap.FieldOrdering) values. Use query [where](BaseQuery.md#recap.BaseQuery.where) calls for AND semantics instead of Python `and`/`or`.


## Methods

| Name | Description |
|----|----|
| [__eq__()](#__eq__) | Create equality predicate `path == value`. |
| [__ge__()](#__ge__) | Create greater-than-or-equal predicate. |
| [__gt__()](#__gt__) | Create greater-than predicate. |
| [__le__()](#__le__) | Create less-than-or-equal predicate. |
| [__lt__()](#__lt__) | Create less-than predicate. |
| [__ne__()](#__ne__) | Create inequality predicate. |
| [asc()](#asc) | Order ascending by this field. |
| [contains()](#contains) | Create substring containment predicate. |
| [desc()](#desc) | Order descending by this field. |
| [ends_with()](#ends_with) | Create suffix predicate. |
| [in_()](#in_) | Create membership predicate; strings are rejected as sequences. |
| [not_in()](#not_in) | Create non-membership predicate. |
| [starts_with()](#starts_with) | Create prefix predicate. |

------------------------------------------------------------------------


#### \_\_eq\_\_()


Create equality predicate `path == value`.


Usage

``` python
__eq__(value)
```


------------------------------------------------------------------------


#### \_\_ge\_\_()


Create greater-than-or-equal predicate.


Usage

``` python
__ge__(value)
```


------------------------------------------------------------------------


#### \_\_gt\_\_()


Create greater-than predicate.


Usage

``` python
__gt__(value)
```


------------------------------------------------------------------------


#### \_\_le\_\_()


Create less-than-or-equal predicate.


Usage

``` python
__le__(value)
```


------------------------------------------------------------------------


#### \_\_lt\_\_()


Create less-than predicate.


Usage

``` python
__lt__(value)
```


------------------------------------------------------------------------


#### \_\_ne\_\_()


Create inequality predicate.


Usage

``` python
__ne__(value)
```


------------------------------------------------------------------------


#### asc()


Order ascending by this field.


Usage

``` python
asc()
```


------------------------------------------------------------------------


#### contains()


Create substring containment predicate.


Usage

``` python
contains(value)
```


------------------------------------------------------------------------


#### desc()


Order descending by this field.


Usage

``` python
desc()
```


------------------------------------------------------------------------


#### ends_with()


Create suffix predicate.


Usage

``` python
ends_with(value)
```


------------------------------------------------------------------------


#### in\_()


Create membership predicate; strings are rejected as sequences.


Usage

``` python
in_(values)
```


------------------------------------------------------------------------


#### not_in()


Create non-membership predicate.


Usage

``` python
not_in(values)
```


------------------------------------------------------------------------


#### starts_with()


Create prefix predicate.


Usage

``` python
starts_with(value)
```
