import{Z as e}from"./CbGRcr-D.js";import{r as t}from"./DgZn9uJn.js";function n(...e){return e[0].columns?new r(e[0].columns,e[0].name):new r(e)}var r=class{static[e]=`SQLitePrimaryKeyBuilder`;columns;name;constructor(e,t){this.columns=e,this.name=t}build(e){return new i(e,this.columns,this.name)}},i=class{static[e]=`SQLitePrimaryKey`;columns;name;isNameExplicit;constructor(e,t,n){this.table=e,this.columns=t,this.name=n,this.isNameExplicit=!!n}getName(){return this.name??`${this.table[t.Symbol.Name]}_${this.columns.map(e=>e.name).join(`_`)}_pk`}};export{n as t};