You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: upsert_page.go
    path of file: ./repos/dotenx/ao-api/stores/uibuilderStore
    
    the code of the file until where you have to start completion: package uibuilderStore

import (
	"context"
	"fmt"

	"github.com/dotenx/dotenx/ao-api/db"
	"github.com/dotenx/dotenx/ao-api/models"
	"github.com/sirupsen/logrus"
)

func (store *uibuilderStore) UpsertPage(ctx context.Context, page models.UIPage) error {
	upsertPage := `
	INSERT INTO ui_pages (name, account_id, project_
    
func (store *uibuilderStore) UpsertPage(ctx context.Context, page models.UIPage) error {
	upsertPage := `
	INSERT INTO ui_pages (name, account_id, project_tag, content, status)
	VALUES ($1, $2, $3, $4, $5) ON CONFLICT (name, account_id, project_tag) DO UPDATE SET content = EXCLUDED.content, status = EXCLUDED.status
	`
	var stmt string
	switch store.db.Driver {
	case db.Postgres:
		stmt = upsertPage
	default:
		return fmt.Errorf("driver not supported")
	}
	_, err := store.db.Connection.Exec(stmt, page.Name, page.AccountId, page.ProjectTag, page.Content, page.Status)
	if err != nil {
		logrus.Error(err.Error())
		return err
	}
	return nil
}