src/class-query-builder.php
public function limit( $limit, $offset = 0 ) {
		global $wpdb;
		$limit  = \absint( $limit );
		$offset = \absint( $offset );

		$this->limit = $wpdb->prepare( 'limit %d, %d', $offset, $limit );

		return $this;
	}
public function limit( $limit, $offset = 0 ) {
		global $wpdb;
		$limit  = \absint( $limit );
		$offset = \absint( $offset );

		$this->limit = $wpdb->prepare( 'limit %d, %d', $offset, $limit );

		return $this;
	}
Set the limit clause.

@param int $limit  Limit size.
@param int $offset Offeset.

@return self The current query builder.