Skip to content

Instantly share code, notes, and snippets.

View cristianodabc's full-sized avatar
🏰
Working from home

Cristiano Carvalho cristianodabc

🏰
Working from home
  • Brazil
View GitHub Profile
```python
class Journal:
def __init__(self, date):
self.date = date
class Meeting(Journal):
def __init__(self, date, time):
super().__init__(date)
self.time = time
```sql
SELECT
json_agg(
json_build_object(
'first_name', u.first_name,
'last_name', u.last_name,
'email', u.email
)
) FROM users AS u
```