Conceptcore
Object-relational impedance mismatch
Also called impedance mismatch, O/R impedance mismatch, object/relational mismatch.
The set of differences between objects in memory and rows in relational tables, in granularity, subtypes, identity, associations and navigation, that make the mapping between them hard.
Idea
A program keeps its data as objects in memory. A relational database keeps its data as rows in tables. The two models do not fit together exactly, and the name for the differences is the object-relational impedance mismatch. The Hibernate documentation defines it: "The object/relational impedance mismatch refers to differences in how entities are represented in the relational data model, compared to how they’re represented in an object-oriented programming language."1 It continues: "The relational model represents data in a tabular format (quite similar to a spreadsheet), whereas object-oriented languages like Java represent data as an interconnected graph of objects with inheritance and polymorphism."1
Scott Ambler gives the difference in access as the clearest sign: "With the object paradigm you traverse objects via their relationships whereas with the relational paradigm you join the data rows of tables."2 The program below shows two of the differences. It loads customer 1 two times. The table has one row with that key, but the program now has two objects, and == does not find them equal. Then it gets the order total of each customer in two ways. The object code walks from each customer to its orders, and the relational code uses one join.
import sqlite3
db = sqlite3.connect(":memory:")
db.executescript("""
create table customer (id integer primary key, name text);
create table orders (id integer primary key, customer_id integer, total integer);
insert into customer values (1, 'Ann'), (2, 'Bo');
insert into orders values (10, 1, 30), (11, 1, 20), (12, 2, 45);
""")
statements = []
db.set_trace_callback(statements.append)
class Customer:
def __init__(self, id, name, orders):
self.id, self.name, self.orders = id, name, orders
def load(id):
(name,) = db.execute("select name from customer where id = ?", (id,)).fetchone()
rows = db.execute("select total from orders where customer_id = ?", (id,))
return Customer(id, name, [total for (total,) in rows])
# Identity: the table has one row with key 1, and the program has two objects.
a, b = load(1), load(1)
print("a is b:", a is b, "| a == b:", a == b, "| a.id == b.id:", a.id == b.id)
# Navigation: walk from each customer object to its orders.
statements.clear()
ids = [id for (id,) in db.execute("select id from customer order by id")]
walk = {c.name: sum(c.orders) for c in map(load, ids)}
print("walk:", walk, "| statements:", len(statements))
# The relational way: one join does the same work.
statements.clear()
join = db.execute(
"select name, sum(total) from customer"
" join orders on orders.customer_id = customer.id"
" group by customer.id order by customer.id"
).fetchall()
print("join:", dict(join), "| statements:", len(statements))
a is b: False | a == b: False | a.id == b.id: True
walk: {'Ann': 50, 'Bo': 45} | statements: 5
join: {'Ann': 50, 'Bo': 45} | statements: 1
The walk sends one statement for the keys and two statements for each customer. The join sends one statement for all of the customers.
How it works
The mismatch is not one problem. The Hibernate documentation divides it into five problems that occur when a program writes or reads "a graph of objects to or from a relational database".1
- Granularity. "Often we find that an object model has more classes than there are tables in the database."1 An address can be a class of its own, but in the database it is often three columns of the customer table.
- Subtypes. "The relational model doesn’t have inheritance as a first-class construct, but relational data modelling does have standard ways to represent subtyping."1 One way is a column that tells which subclass a row is, as in the examples of this page.
- Identity. In the relational model, the primary key is the only test of sameness. Java "defines both object identity a==b and value equality", and "it’s common to have more than one object in a given Java program representing the same row of a database table."1
- Associations. "Associations are represented as unidirectional references in object-oriented languages, whereas relational databases represent associations via foreign keys." Also, "to represent a bidirectional relationship in Java, we must write code on both sides of the association."1 One foreign key becomes two references, and the program must keep both of them correct.
- Data navigation. "In Java, we navigate associations from one object to the next, walking the object network." For relational data, that is "an extremely inefficient way of retrieving relational data, where, instead, we must control latency by minimizing the number of SQL queries, loading related entity data using joins."1
Other sources add more differences. Wikipedia lists data types, encapsulation, constraints and transactions. In the relational model, "Links are reversible (INNER JOIN is symmetric to follow foreign keys backward), forming undirected graphs".3 The two sides also disagree about which copy of the data is the real one: "Relational says the DBMS is authoritative and the OO program's objects are temporary copies (possibly outdated if the database is modified concurrently). OO says the objects are authoritative, and the DBMS is just for persistence."3
Ambler gives the root cause. The object-oriented paradigm "is based on proven software engineering principles", and the relational paradigm "is based on proven mathematical principles".2 Ambler also names a second, cultural mismatch between developers and data professionals, apart from the technical one.2
Martin Fowler adds that the problem is not about objects. "By rights it should be referred to as in-memory/relational mapping problem, because it's true of mapping RDBMSs to any in-memory data structure."4 Fowler gives two more causes of difficulty: "you can make changes on either side that have to be mapped to the other", and many users can change the database at the same time, but "in most cases, you can't hold transactions open while you fiddle with the data in-memory."4
In languages
| Language | Verdict | Note |
|---|---|---|
| Python | Native | |
| C++ | Open | Not decided yet. |
| Java | Native | |
| C | Open | Not decided yet. |
| C# | Open | Not decided yet. |
| JavaScript | Open | Not decided yet. |
| TypeScript | Open | Not decided yet. |
| Go | Native | |
| Rust | Open | Not decided yet. |
| Kotlin | Open | Not decided yet. |
| SQL | Open | Not decided yet. |
| Bash | Open | Not decided yet. |
| PowerShell | Open | Not decided yet. |
| HTML | Open | Not decided yet. |
| CSS | Open | Not decided yet. |
| Regular expressions | Open | Not decided yet. |
The identity problem looks different in each language, because each language has its own default test of whether two objects are the same.
- Python. User-defined classes inherit
__eq__fromobject, "with them, all objects compare unequal (except with themselves)".5 So two objects for the same row are not equal unless the class defines__eq__. The SQLAlchemy session keeps "a unique Python object instance maintained corresponding to a particular database identity."6 - Java. The
equalsmethod ofObject"returns true if and only if x and y refer to the same object".7 So two objects for the same row are not equal unless the class overridesequals. - Go. "Two struct values are equal if their corresponding non-blank field values are equal", and "Two pointer values are equal if they point to the same variable".8 The program chooses value equality or identity by the choice of a struct or a pointer. Go has "no type hierarchy",9 so the subtypes of a table become types that implement one interface.
- C#. In Entity Framework Core, "A DbContext can only track one entity instance with any given primary key value."10
- PHP. Doctrine "will only ever give you access to one instance of the Article with ID 1234, no matter how often do you retrieve it from the EntityManager".11
The Python, Java and Go examples of this page show all five problems with one customer table and one orders table.
import sqlite3
from dataclasses import dataclass, field
db = sqlite3.connect(":memory:")
db.executescript("""
create table customer (id integer primary key, name text, street text, city text);
create table orders (
id integer primary key, customer_id integer references customer (id),
total integer, kind text, card text);
insert into customer values (1, 'Ann', 'Main St 1', 'Oslo'), (2, 'Bo', 'High St 9', 'Rome');
insert into orders values (10, 1, 30, 'card', '4242'), (11, 1, 20, 'cash', null),
(12, 2, 45, 'card', '1881');
""")
statements = []
db.set_trace_callback(statements.append)
@dataclass
class Address: # A value object: it has no table and no key.
street: str
city: str
@dataclass(eq=False)
class Customer:
id: int
name: str
address: Address
orders: list = field(default_factory=list)
@dataclass(eq=False)
class Order:
id: int
total: int
customer: Customer
@dataclass(eq=False)
class CardOrder(Order):
card: str
class CashOrder(Order):
pass
def yn(flag):
return "yes" if flag else "no"
def load(id):
sql = "select name, street, city from customer where id = ?"
name, street, city = db.execute(sql, (id,)).fetchone()
# Granularity: one row becomes two objects.
c = Customer(id, name, Address(street, city))
sql = "select id, total, kind, card from orders where customer_id = ? order by id"
for oid, total, kind, card in db.execute(sql, (id,)):
# Subtypes: a column chooses the class.
o = CardOrder(oid, total, c, card) if kind == "card" else CashOrder(oid, total, c)
# Associations: the foreign key becomes two references.
c.orders.append(o)
return c
ann, bo = load(1), load(2)
a = ann.address
print(f"granularity: customer row 1 -> Customer {ann.name} + Address {a.street}, {a.city}")
kinds = [f"order {o.id} {type(o).__name__}" for o in ann.orders]
print("subtypes:", " | ".join(kinds), "| card", ann.orders[0].card)
ids = ", ".join(str(o.id) for o in ann.orders)
print(f"associations: order 10 -> {ann.orders[0].customer.name} | Ann -> orders {ids}")
# In the table, one update moves the order. In memory, both sides must change.
moved = ann.orders[1]
moved.customer = bo
print("moved order 11 on one side: Ann lists 11:", yn(moved in ann.orders),
"| Bo lists 11:", yn(moved in bo.orders))
again = load(1)
print("identity: same object:", yn(again is ann), "| same key:", yn(again.id == ann.id))
statements.clear()
keys = [id for (id,) in db.execute("select id from customer order by id")]
walk = ", ".join(f"{c.name} {sum(o.total for o in c.orders)}" for c in map(load, keys))
print(f"navigation: walk {walk} in {len(statements)} statements")
statements.clear()
rows = db.execute(
"select name, sum(total) from customer"
" join orders on orders.customer_id = customer.id"
" group by customer.id order by customer.id"
).fetchall()
join = ", ".join(f"{name} {total}" for name, total in rows)
print(f"navigation: join {join} in {len(statements)} statement")
granularity: customer row 1 -> Customer Ann + Address Main St 1, Oslo
subtypes: order 10 CardOrder | order 11 CashOrder | card 4242
associations: order 10 -> Ann | Ann -> orders 10, 11
moved order 11 on one side: Ann lists 11: yes | Bo lists 11: no
identity: same object: no | same key: yes
navigation: walk Ann 50, Bo 45 in 5 statements
navigation: join Ann 50, Bo 45 in 1 statement
The program uses SQLite. One row of customer becomes a Customer and an Address, and the kind column chooses CardOrder or CashOrder. The classes use eq=False, so == and in compare identity, as for any class without its own __eq__. The trace callback counts the SQL statements: the walk sends one statement for the keys and two for each customer, and the join sends one.
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
public class Main {
// The tables: each row is an array of column values.
static final Object[][] CUSTOMER = {
{1, "Ann", "Main St 1", "Oslo"},
{2, "Bo", "High St 9", "Rome"},
};
static final Object[][] ORDERS = { // id, customer_id, total, kind, card
{10, 1, 30, "card", "4242"},
{11, 1, 20, "cash", null},
{12, 2, 45, "card", "1881"},
};
static int statements = 0;
// Each method stands in for one SQL statement.
static Object[] selectCustomer(int id) {
statements++;
for (Object[] r : CUSTOMER) if ((int) r[0] == id) return r;
return null;
}
static List<Object[]> selectOrders(int customerId) {
statements++;
List<Object[]> out = new ArrayList<>();
for (Object[] r : ORDERS) if ((int) r[1] == customerId) out.add(r);
return out;
}
static List<Integer> selectCustomerIds() {
statements++;
List<Integer> out = new ArrayList<>();
for (Object[] r : CUSTOMER) out.add((int) r[0]);
return out;
}
static List<String> joinTotals() { // select name, sum(total) ... group by
statements++;
List<String> out = new ArrayList<>();
for (Object[] c : CUSTOMER) {
int sum = 0;
for (Object[] o : ORDERS) if (o[1].equals(c[0])) sum += (int) o[2];
out.add(c[1] + " " + sum);
}
return out;
}
record Address(String street, String city) {} // A value object: no table, no key.
static class Customer {
final int id;
final String name;
final Address address;
final List<Order> orders = new ArrayList<>();
Customer(int id, String name, Address address) {
this.id = id;
this.name = name;
this.address = address;
}
}
static class Order {
final int id;
final int total;
Customer customer;
Order(int id, int total, Customer customer) {
this.id = id;
this.total = total;
this.customer = customer;
}
}
static class CardOrder extends Order {
final String card;
CardOrder(int id, int total, Customer customer, String card) {
super(id, total, customer);
this.card = card;
}
}
static class CashOrder extends Order {
CashOrder(int id, int total, Customer customer) {
super(id, total, customer);
}
}
static Customer load(int id) {
Object[] r = selectCustomer(id);
// Granularity: one row becomes two objects.
Customer c = new Customer(id, (String) r[1], new Address((String) r[2], (String) r[3]));
for (Object[] o : selectOrders(id)) {
// Subtypes: a column chooses the class.
Order order = o[3].equals("card")
? new CardOrder((int) o[0], (int) o[2], c, (String) o[4])
: new CashOrder((int) o[0], (int) o[2], c);
// Associations: the foreign key becomes two references.
c.orders.add(order);
}
return c;
}
static String yn(boolean flag) {
return flag ? "yes" : "no";
}
public static void main(String[] args) {
Customer ann = load(1), bo = load(2);
Address a = ann.address;
System.out.println("granularity: customer row 1 -> Customer " + ann.name
+ " + Address " + a.street() + ", " + a.city());
String kinds = ann.orders.stream()
.map(o -> "order " + o.id + " " + o.getClass().getSimpleName())
.collect(Collectors.joining(" | "));
System.out.println("subtypes: " + kinds + " | card " + ((CardOrder) ann.orders.get(0)).card);
String ids = ann.orders.stream().map(o -> String.valueOf(o.id)).collect(Collectors.joining(", "));
System.out.println("associations: order 10 -> " + ann.orders.get(0).customer.name
+ " | Ann -> orders " + ids);
// In the table, one update moves the order. In memory, both sides must change.
Order moved = ann.orders.get(1);
moved.customer = bo;
System.out.println("moved order 11 on one side: Ann lists 11: " + yn(ann.orders.contains(moved))
+ " | Bo lists 11: " + yn(bo.orders.contains(moved)));
Customer again = load(1);
System.out.println("identity: same object: " + yn(again == ann) + " | same key: " + yn(again.id == ann.id));
statements = 0;
List<String> walk = new ArrayList<>();
for (int id : selectCustomerIds()) {
Customer c = load(id);
walk.add(c.name + " " + c.orders.stream().mapToInt(o -> o.total).sum());
}
System.out.println("navigation: walk " + String.join(", ", walk) + " in " + statements + " statements");
statements = 0;
List<String> join = joinTotals();
System.out.println("navigation: join " + String.join(", ", join) + " in " + statements + " statement");
}
}
granularity: customer row 1 -> Customer Ann + Address Main St 1, Oslo
subtypes: order 10 CardOrder | order 11 CashOrder | card 4242
associations: order 10 -> Ann | Ann -> orders 10, 11
moved order 11 on one side: Ann lists 11: yes | Bo lists 11: no
identity: same object: no | same key: yes
navigation: walk Ann 50, Bo 45 in 5 statements
navigation: join Ann 50, Bo 45 in 1 statement
Two arrays stand in for the tables, and each select method counts as one SQL statement. List.contains calls equals, and Order does not override it, so it compares references. The second load(1) gives a new Customer, so again == ann is false although the keys are equal.
package main
import (
"fmt"
"strings"
)
type customerRow struct {
id int
name, street, city string
}
type orderRow struct {
id, customerID, total int
kind, card string
}
// The tables.
var customerTable = []customerRow{{1, "Ann", "Main St 1", "Oslo"}, {2, "Bo", "High St 9", "Rome"}}
var orderTable = []orderRow{{10, 1, 30, "card", "4242"}, {11, 1, 20, "cash", ""}, {12, 2, 45, "card", "1881"}}
var statements = 0
// Each function stands in for one SQL statement.
func selectCustomer(id int) customerRow {
statements++
for _, r := range customerTable {
if r.id == id {
return r
}
}
return customerRow{}
}
func selectOrders(customerID int) []orderRow {
statements++
var out []orderRow
for _, r := range orderTable {
if r.customerID == customerID {
out = append(out, r)
}
}
return out
}
func selectCustomerIDs() []int {
statements++
var out []int
for _, r := range customerTable {
out = append(out, r.id)
}
return out
}
func joinTotals() []string { // select name, sum(total) ... group by
statements++
var out []string
for _, c := range customerTable {
sum := 0
for _, o := range orderTable {
if o.customerID == c.id {
sum += o.total
}
}
out = append(out, fmt.Sprintf("%s %d", c.name, sum))
}
return out
}
// Address is a value object: it has no table and no key.
type Address struct{ Street, City string }
type Customer struct {
ID int
Name string
Address Address
Orders []Order
}
// Order is an interface, because Go has no subclasses.
type Order interface {
Base() *OrderBase
}
type OrderBase struct {
ID, Total int
Customer *Customer
}
type CardOrder struct {
OrderBase
Card string
}
type CashOrder struct{ OrderBase }
func (o *CardOrder) Base() *OrderBase { return &o.OrderBase }
func (o *CashOrder) Base() *OrderBase { return &o.OrderBase }
func load(id int) *Customer {
r := selectCustomer(id)
// Granularity: one row becomes two values.
c := &Customer{ID: id, Name: r.name, Address: Address{r.street, r.city}}
for _, o := range selectOrders(id) {
// Subtypes: a column chooses the type.
base := OrderBase{o.id, o.total, c}
var order Order = &CashOrder{base}
if o.kind == "card" {
order = &CardOrder{base, o.card}
}
// Associations: the foreign key becomes two references.
c.Orders = append(c.Orders, order)
}
return c
}
func lists(c *Customer, o Order) string {
for _, x := range c.Orders {
if x == o {
return "yes"
}
}
return "no"
}
func yn(flag bool) string {
if flag {
return "yes"
}
return "no"
}
func main() {
ann, bo := load(1), load(2)
fmt.Printf("granularity: customer row 1 -> Customer %s + Address %s, %s\n", ann.Name, ann.Address.Street, ann.Address.City)
var kinds, ids []string
for _, o := range ann.Orders {
name := "CashOrder"
if _, ok := o.(*CardOrder); ok {
name = "CardOrder"
}
kinds = append(kinds, fmt.Sprintf("order %d %s", o.Base().ID, name))
ids = append(ids, fmt.Sprint(o.Base().ID))
}
fmt.Printf("subtypes: %s | card %s\n", strings.Join(kinds, " | "), ann.Orders[0].(*CardOrder).Card)
fmt.Printf("associations: order 10 -> %s | Ann -> orders %s\n", ann.Orders[0].Base().Customer.Name, strings.Join(ids, ", "))
// In the table, one update moves the order. In memory, both sides must change.
moved := ann.Orders[1]
moved.Base().Customer = bo
fmt.Printf("moved order 11 on one side: Ann lists 11: %s | Bo lists 11: %s\n", lists(ann, moved), lists(bo, moved))
again := load(1)
fmt.Printf("identity: same object: %s | same key: %s\n", yn(again == ann), yn(again.ID == ann.ID))
statements = 0
var walk []string
for _, id := range selectCustomerIDs() {
c := load(id)
sum := 0
for _, o := range c.Orders {
sum += o.Base().Total
}
walk = append(walk, fmt.Sprintf("%s %d", c.Name, sum))
}
fmt.Printf("navigation: walk %s in %d statements\n", strings.Join(walk, ", "), statements)
statements = 0
join := joinTotals()
fmt.Printf("navigation: join %s in %d statement\n", strings.Join(join, ", "), statements)
}
granularity: customer row 1 -> Customer Ann + Address Main St 1, Oslo
subtypes: order 10 CardOrder | order 11 CashOrder | card 4242
associations: order 10 -> Ann | Ann -> orders 10, 11
moved order 11 on one side: Ann lists 11: yes | Bo lists 11: no
identity: same object: no | same key: yes
navigation: walk Ann 50, Bo 45 in 5 statements
navigation: join Ann 50, Bo 45 in 1 statement
Go has no type hierarchy, so Order is an interface, and CardOrder and CashOrder embed OrderBase. Two slices stand in for the tables, and each select function counts as one SQL statement. load returns a *Customer, and == on two pointers is true only if they point to the same variable, so the second load(1) is not the same customer.
Variations and related ideas
- Mapping layers. The data access patterns each solve a part of the problem. An Identity map keeps one object for each row. A Unit of work collects the changes and writes them in one transaction. A Data mapper keeps the objects and the tables independent, while an Active record puts the mapping into the object. Lazy loading delays the load of an association until the program uses it.12
- A more relational model in memory. Fowler: "you either have to make your in-memory model more relational, or you complicate your mapping code." In many cases Fowler suggests "Row Data Gateways that are just the relational tables wrapped in simple objects."4 See Row data gateway.
- Avoiding the problem. "Either you use the relational model in memory, or you don't use it in the database."4 A NoSQL database helps "If you have an application problem that maps well to a NoSQL data model - such as aggregates or graphs", but "it only works when the fit between the application model and the NoSQL data model is good."4
- One-way mapping. "ORMs are complex because they have to handle a bi-directional mapping. A uni-directional problem is much easier to work with".4 Fowler gives this as one of the arguments for CQRS.4
- Functional-relational mapping. "Comprehensions in functional programming languages are isomorphic with relational queries."3 Some functional languages use this to avoid the object mapping.3
- The relational view. Christopher J. Date "says a true relational DBMS overcomes the problem", because, in the view of Date, domains and classes are equivalent.3
Pitfalls
- The N plus one problem. Navigation by objects with lazy loading sends one query for the parents and one more for each parent: "for a result set of N parent objects, there will be N + 1 SELECT statements emitted."12 The Idea example sends 5 statements for 2 customers. The join sends 1.
- One side of an association. If the program changes the reference on one object only, the objects disagree. In the examples, an order moves to another customer, but the old customer still lists it.
- Two objects for one row. Two loads of one row give two objects. A change to one of them does not show in the other, and the second save can write old values back. See Identity map.
- Types that do not match. Wikipedia notes that "Scalar types differ between them, impeding mapping."3 A Python int has no size limit: "Integers have unlimited precision."13 A SQLite INTEGER "is a signed integer, stored in 0, 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value."14 A value that fits in the object does not fit in the column.
This code runs but gives a wrong answer on purpose.
import sqlite3
db = sqlite3.connect(":memory:")
db.execute("create table counter (id integer primary key, hits integer)")
hits = 2**63 # A Python int has no fixed size.
try:
db.execute("insert into counter values (1, ?)", (hits,))
print("stored", hits)
except OverflowError as e:
print("OverflowError:", e)
OverflowError: Python int too large to convert to SQLite INTEGER
- Inflated expectations. Fowler: "the ORM can handle about 80-90% of the mapping problems, but that last chunk always needs careful work by somebody who really understands how a relational database works."4
Cost
The mapping costs code and round trips. Fowler: "Mapping to a relational database involves lots of repetitive, boiler-plate code."4 A tool removes most of that code, but adds complexity, and "often systems using an ORM perform badly - often due to naive interactions with the underlying database."4 Navigation by objects costs one round trip to the database for each step, and a join costs one round trip for the full result. The examples count these statements.
History
Ambler writes: "In the early 1990s, the differences between the two approaches were labelled the “object-relational impedance mismatch”, or simply “impedance mismatch” for short."2 The name comes from electrical engineering: "The term impedance mismatch comes from impedance matching in electrical engineering ."3
Fowler remembers the 1990s: "For much of the 90's I saw project after project deal with the object/relational mapping problem by writing their own framework - it was always much tougher than people imagined."4 In 2006, Ted Neward published the essay The Vietnam of Computer Science about the problem.3 Fowler mentions the title of this essay in the same post.4 Open source tools changed the work: "The widely available open source ORMs (such as iBatis, Hibernate, and Active Record) did a great deal to remove this problem".4 The Hibernate documentation now says that the mapping "is a difficult and subtle problem, and used to be a major source of anguish for enterprise developers."1
References
- Hibernate ORM, What is Object/Relational Mapping?, The object/relational mismatch; Where are we today?
- Scott W. Ambler, Overcoming The Object-Relational Impedance Mismatch, Agile Data, introduction; sections 1 and 3
- Object–relational impedance mismatch, Wikipedia, introduction; Mismatches; Solving impedance mismatch; Contention
- Martin Fowler, OrmHate, 8 May 2012, the whole post and its notes
- The Python Language Reference, Data model, object.__eq__ (rich comparison methods); object.__hash__
- SQLAlchemy 2.0 documentation, Session Basics, Get by Primary Key; Expiring / Refreshing
- Java SE 21 API, class java.lang.Object, method equals
- The Go Programming Language Specification, Comparison operators
- Go FAQ, Is Go an object-oriented language?
- Entity Framework Core documentation, Identity Resolution in EF Core, introduction
- Doctrine ORM 3.7 documentation, Working with Objects, Entities and the Identity Map
- SQLAlchemy 2.0 documentation, Glossary, lazy load; N plus one problem
- The Python Standard Library, Built-in Types, Numeric Types
- SQLite, Datatypes In SQLite, section 2, Storage Classes and Datatypes
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 413M3R Edit this page History Report an error Markdown