How conduct random queries pdo

In example:

$robots = Robots::find(
    array(
        "type = 'virtual'",
        "order" => "name",
        "limit" => 100
    )
);

But I want to ID a random query. How to write?

But I want to ID a random query.

Could you please elaborate?



4.9k

If the table has 600 records, I think the n random read, how to write

But I want to ID a random query.

Could you please elaborate?