squirting liquid, how to do?

How does one simulate liquid being squirted?

Like from a squirt gun or whatever else. A short, narrow stream of liquid.

Use a fluid inflow object
Set it’s velocity in the X, Y and Z direction in the inflow settings
Use a high domain resolution