An action is commenced, within the meaning of this Title, when the complaint is filed.
(Enacted 1872.)