Why fetch_val not returning autoincrement id with MySQL?

Hello!

I have table:

test_table = Table(‘test’, metadata,
Column(‘id’, Integer, autoincrement=True, primary_key=True),
Column(‘name’, String(32)))

For this table:

query = test_table.insert()
values = dict(name=‘test’)

When I use PostgreSQL: database.fetch_val(query, values) returns id
If I use MySQL, database.fetch_val(query, values) returns None
But if I use database.execute(query, values) with MySQL returns id

Why?