import{G as e,Z as t}from"./CbGRcr-D.js";function n(t,n){return`${t[e]}_${n.join(`_`)}_unique`}function r(e){return new a(e)}var i=class{static[t]=`SQLiteUniqueConstraintBuilder`;columns;constructor(e,t){this.name=t,this.columns=e}build(e){return new o(e,this.columns,this.name)}},a=class{static[t]=`SQLiteUniqueOnConstraintBuilder`;name;constructor(e){this.name=e}on(...e){return new i(e,this.name)}},o=class{static[t]=`SQLiteUniqueConstraint`;columns;name;isNameExplicit;constructor(e,t,r){this.table=e,this.columns=t,this.isNameExplicit=!!r,this.name=r??n(this.table,this.columns.map(e=>e.name))}getName(){return this.name}};export{r as t};