Such order can only be made on the motion of a party, upon affidavit showing the nature of the action or proceeding, the testimony expected from the witness, and its materiality.
Cal. Civ. Proc. Code § 1996
Means of Production
Enacted 1872.
Official source: California Legislative Information. Reproduced from public-domain California statutes; confirm against the official source for the current text. Not legal advice.