fix bug in bulk_update, update documentation, update readme, bump version
This commit is contained in:
9
docs_src/models/docs009.py
Normal file
9
docs_src/models/docs009.py
Normal file
@ -0,0 +1,9 @@
|
||||
class Album(ormar.Model):
|
||||
class Meta:
|
||||
tablename = "music_albums"
|
||||
metadata = metadata
|
||||
database = database
|
||||
|
||||
id: ormar.Integer(name='album_id', primary_key=True)
|
||||
name: ormar.String(name='album_name', max_length=100)
|
||||
artist: ormar.ForeignKey(Artist, name='artist_id')
|
||||
Reference in New Issue
Block a user