Compare commits
No commits in common. "b148e103933cea39967d77aadc6983945c829336" and "dadde986a29e94317d0eb4358d1b7841e81cf8ce" have entirely different histories.
b148e10393
...
dadde986a2
11
sqdb.py
11
sqdb.py
@ -19,14 +19,15 @@ class user(Base):
|
||||
id = Column(Integer, primary_key=True)
|
||||
user_id = Column(Integer)
|
||||
user_fullname = Column(String)
|
||||
c2 = user(user_id = 123466, user_fullname = 'sfsfsfsfs')
|
||||
|
||||
class adding(Base):
|
||||
async def add_user():
|
||||
session.add()
|
||||
session.commit()
|
||||
|
||||
|
||||
|
||||
c2 = user(user_id = 1234, user_fullname = 'sfsfsfsfs')
|
||||
|
||||
session.add(c2)
|
||||
session.commit()
|
||||
|
||||
#Base.metadata.create_all(engine)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user