def bayesdb_rowid_tokens(bdb):
    """Return list of built-in tokens that identify rowids (e.g. oid)."""
    tokens = bdb.sql_execute('''
        SELECT token FROM bayesdb_rowid_tokens
    ''').fetchall()
    return [t[0] for t in tokens]