add:SmallInteger()

This commit is contained in:
xiechen
2021-08-06 11:43:51 +08:00
parent 6ffc318fd0
commit 7baaee63ce
10 changed files with 98 additions and 49 deletions

View File

@ -69,6 +69,19 @@ Each of the `Fields` has assigned both `sqlalchemy` column class and python type
!!!tip
For explanation of other parameters check [pydantic][pydantic] documentation.
### SmallInteger
`SmallInteger(minimum: int = None,
maximum: int = None,
multiple_of: int = None)` has no required parameters.
* Sqlalchemy column: `sqlalchemy.SmallInteger`
* Type (used for pydantic): `int`
!!!tip
For explanation of other parameters check [pydantic][pydantic] documentation.
### Float
`Float(minimum: float = None,