tests Package¶
tests
Package¶
mqlalchemy.tests.__init__¶
Tests for our new query syntax.
copyright: | (c) 2016 by Nicholas Repole and contributors. See AUTHORS for more details. |
---|---|
license: | MIT - See LICENSE for more details. |
models
Module¶
mqlalchemy.tests.models.py¶
SQLAlchemy models for the Chinook database.
copyright: | (c) 2016 by Nicholas Repole and contributors. See AUTHORS for more details. |
---|---|
license: | MIT - See LICENSE for more details. |
-
class
mqlalchemy.tests.models.
Album
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
SQLAlchemy model for the Album table in our database.
-
album_id
¶
-
artist
¶
-
artist_id
¶
-
title
¶
-
-
class
mqlalchemy.tests.models.
Artist
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
SQLAlchemy model for the Artist table in our database.
-
artist_id
¶
-
name
¶
-
-
class
mqlalchemy.tests.models.
Customer
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
SQLAlchemy model for the Customer table in our database.
-
address
¶
-
city
¶
-
company
¶
-
country
¶
-
customer_id
¶
-
email
¶
-
employee
¶
-
fax
¶
-
first_name
¶
-
last_name
¶
-
phone
¶
-
postal_code
¶
-
state
¶
-
support_rep_id
¶
-
-
class
mqlalchemy.tests.models.
Employee
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
SQLAlchemy model for the Employee table in our database.
-
address
¶
-
birth_date
¶
-
city
¶
-
country
¶
-
email
¶
-
employee_id
¶
-
fax
¶
-
first_name
¶
-
hire_date
¶
-
last_name
¶
-
parent
¶
-
phone
¶
-
postal_code
¶
-
reports_to
¶
-
state
¶
-
title
¶
-
-
class
mqlalchemy.tests.models.
Genre
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
SQLAlchemy model for the Genre table in our database.
-
genre_id
¶
-
name
¶
-
-
class
mqlalchemy.tests.models.
Invoice
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
SQLAlchemy model for the Invoice table in our database.
-
billing_address
¶
-
billing_city
¶
-
billing_country
¶
-
billing_postal_code
¶
-
billing_state
¶
-
customer
¶
-
customer_id
¶
-
invoice_date
¶
-
invoice_id
¶
-
total
¶
-
-
class
mqlalchemy.tests.models.
InvoiceLine
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
SQLAlchemy model for the InvoiceLine table in our database.
-
invoice
¶
-
invoice_id
¶
-
invoice_line_id
¶
-
quantity
¶
-
track
¶
-
track_id
¶
-
unit_price
¶
-
-
class
mqlalchemy.tests.models.
MediaType
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
SQLAlchemy model for the MediaType table in our database.
-
media_type_id
¶
-
name
¶
-