# mlmd.ListOptions

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google/ml-metadata/blob/v1.17.1/ml_metadata/metadata_store/metadata_store.py#L72-L92) |

Defines the available options when listing nodes.

    mlmd.ListOptions(
        limit=attr_dict['limit'].default,
        order_by=attr_dict['order_by'].default,
        is_asc=attr_dict['is_asc'].default,
        filter_query=attr_dict['filter_query'].default
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `limit` | The maximum size of the result. If a value is not specified then all artifacts are returned. |
| `order_by` | The field to order the results. If the field is not provided, then the order is up to the database backend implementation. |
| `is_asc` | Specifies `order_by` is ascending or descending. If `order_by` is not given, the field is ignored. If `order_by` is set, then by default ascending order is used for performance benefit. |
| `filter_query` | An optional boolean expression in SQL syntax to specify conditions on node attributes and directly connected assets. See https://github.com/google/ml-metadata/blob/master/ml_metadata/proto/metadata_store.proto#L705-L783 for the query capabilities and syntax. |

<br />