Skip to content

Instantly share code, notes, and snippets.

View hazardland's full-sized avatar

BIOHAZARD hazardland

View GitHub Profile
@hazardland
hazardland / insert.py
Created January 7, 2021 16:30
Insert records using postgresql-orm
import sql
import logging as log
log.basicConfig(level=log.DEBUG)
sql.db = sql.Db('dbname=postgres user=postgres password=1234 host=127.0.0.1 port=5432')
class Bet:
pass
class Table(sql.Table):