Best practice to limit results in get_row()?
This is my query to check if a title exists (it's in a loop, therefore [$i]).
$wpdb-get_row("SELECT * FROM wp_posts WHERE post_title = '" . $titles_arr[$i] . "'", 'ARRAY_A');
Anyway, I would like to know how to use LIMIT 0,1000
to query only the last 1000 added posts to the database when using get_row() function.
Any idea?