I am trying to take values from a DB table where It has keys as enabled and values as true, false and empty, I want to take only True values from enabled keys and other keys and rows related to it.
Table
id name enabled dept
1 abd TRUE cs
2 cdew FALSE ds
3 sda sd
4 asd TRUE as
I want only enabled = true values from table. how can I do it? without help of pandas? I want like
id name enabled dept
1 abd TRUE cs
4 asd TRUE as
KeyConditionExpression=Key('enabled').eq(True)