odata_query 2.7.0 copy "odata_query: ^2.7.0" to clipboard
odata_query: ^2.7.0 copied to clipboard

OData Query Builder is a simple Dart package for building OData query parameter for your REST API.

2.7.0 #

  • Automatic parentheses for nested filter expressions. Filter.and and Filter.or now automatically add grouping parentheses around sub-expressions that contain logical operators (AND/OR) to ensure proper OData operator precedence and avoid logic errors.
  • This ensures compliance with OData specification requirements for logical operator precedence.
  • Complex nested filters now generate correct query strings that return expected results from OData services.

2.6.0 #

  • Filters Filter.and and Filter.or now accepts lists for more flexible queries. If the list is empty, the filter is omitted.

2.5.0 #

  • Added OrderBy chaining: thenAsc and thenDesc.

2.4.0 #

  • Added contains filter.
  • Added startsWith and endsWith filters.
  • Added negation not.
  • Updated readme and example.

2.3.0 #

  • Added any and all filters.
  • Updated readme and example.

2.2.0 #

  • Added inList and inCollection filters.
  • Updated readme and example.

2.1.0 #

  • Added toEncodedString() and normal toString() does not encode the query.
  • Fixed typo in scr -> src folder.
  • Example for nested odata queries.

2.0.0 #

  • toString() and toMap() functions instead of build().

1.0.0 #

  • Initial release of odata_query package.
5
likes
160
points
546
downloads

Publisher

unverified uploader

Weekly Downloads

OData Query Builder is a simple Dart package for building OData query parameter for your REST API.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on odata_query