db = UnQLite('test.db')
data = db.collection('data')
print(data.fetch(0))
This prints
{'id': b'abc', 'type': b'business', 'state': b'AZ', 'latitude': 33.3482589,
'name': b"ABC Restaurant", 'full_address': b'1835 E ABC Rd, Ste C109, Phoenix, AZ 85284',
'categories': [b'Restaurants', b'Buffets', b'Italian'],
'open': True, 'stars': 4, 'city': b'Phoenix', 'neighborhoods': [],
'__id': 0, 'review_count': 122, 'longitude': -111.9088346}
How do I fetch the value "Phoenix" for City?
type(data.fetch(0))
prints class 'dict'
I am looking at UnQlite documentation, not finding much. Please help.