Skip to content

Commit

Permalink
#8 Adds documentation regarding usage of ListDisplayFilter, ObjectDis…
Browse files Browse the repository at this point in the history
…playFilter, SQLDisplayFilter
  • Loading branch information
bytebutcher committed Jul 7, 2023
1 parent 27ca0d4 commit c968085
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ filter_query = "age.born > 1960"
filtered_data = df.filter(filter_query)
print(list(filtered_data))
[
Actor(name=["Laurence", "Fishburne"], age={"born": "1961"}, gender="male"),
Actor(name=["Keanu", "Reeves"], age={"born": "1964"}, gender="male"),
Actor(name=["Carrie-Anne", "Moss"], age={"born": "1967"}, gender="female")
Actor(name=['Laurence', 'Fishburne'], age={'born': '1961'}, gender='male'),
Actor(name=['Keanu', 'Reeves'], age={'born': '1964'}, gender='male'),
Actor(name=['Carrie-Anne', 'Moss'], age={'born': '1967'}, gender='female')
]
```

Expand All @@ -86,7 +86,7 @@ print(list(filtered_data))

This will output the filtered data:
```python
[{'name': ['Laurence', 'Fishburne'], 'age': {'born': '1961'}, 'gender': 'male'}]
[Actor(name=['Laurence', 'Fishburne'], age={'born': '1961'}, gender='male')]
```

Overall, PyDFQL supports a wide range of features, including:
Expand Down

0 comments on commit c968085

Please sign in to comment.