copy
Returns an independent copy, so that variants can be built from a shared base.
val base = db.select("*").from("legions").orderBy("name")
val onMarch = base.copy().where("status = 'ON_MARCH'")
val garrisoned = base.copy().where("status = 'GARRISONED'")Content copied to clipboard