{- THIS FILE IS AUTOGENERATED AND SHOULD NOT BE EDITED MANUALLY -}
{- FOURMOLU_DISABLE -}

{-|
Module: Database.Persist.Sql.Shim

Defines all the @persistent@ functions lifted into 'MonadSqlQuery', and
re-exports a version of the @Database.Persist.Sql@ module replacing each
function with the lifted version.

This file is autogenerated, to keep it in sync with
@Database.Persist.Monad.Shim@.
-}

{-# LANGUAGE CPP #-}

module Database.Persist.Sql.Shim (
  module Database.Persist.Sql,
  get,
  getMany,
  getJust,
  getJustEntity,
  getEntity,
  belongsTo,
  belongsToJust,
  insert,
  insert_,
  insertMany,
  insertMany_,
  insertEntityMany,
  insertKey,
  repsert,
  repsertMany,
  replace,
  delete,
  update,
  updateGet,
  insertEntity,
  insertRecord,
  getBy,
  getByValue,
  checkUnique,
  checkUniqueUpdateable,
  deleteBy,
  insertUnique,
  upsert,
  upsertBy,
  putMany,
  insertBy,
  insertUniqueEntity,
  replaceUnique,
  onlyUnique,
  selectSourceRes,
  selectFirst,
  selectKeysRes,
  count,
  exists,
  selectSource,
  selectKeys,
  selectList,
  selectKeysList,
  updateWhere,
  deleteWhere,
  deleteWhereCount,
  updateWhereCount,
  parseMigration,
  parseMigration',
  printMigration,
  showMigration,
  getMigration,
  runMigration,
  runMigrationQuiet,
  runMigrationSilent,
  runMigrationUnsafe,
  runMigrationUnsafeQuiet,
  getFieldName,
  getTableName,
  withRawQuery,
  rawQueryRes,
  rawQuery,
  rawExecute,
  rawExecuteCount,
  rawSql,
  transactionSave,
  transactionSaveWithIsolation,
  transactionUndo,
  transactionUndoWithIsolation,
  unsafeLiftSql,
  ) where

import Database.Persist.Monad.Shim (
    get,
    getMany,
    getJust,
    getJustEntity,
    getEntity,
    belongsTo,
    belongsToJust,
    insert,
    insert_,
    insertMany,
    insertMany_,
    insertEntityMany,
    insertKey,
    repsert,
    repsertMany,
    replace,
    delete,
    update,
    updateGet,
    insertEntity,
    insertRecord,
    getBy,
    getByValue,
    checkUnique,
    checkUniqueUpdateable,
    deleteBy,
    insertUnique,
    upsert,
    upsertBy,
    putMany,
    insertBy,
    insertUniqueEntity,
    replaceUnique,
    onlyUnique,
    selectSourceRes,
    selectFirst,
    selectKeysRes,
    count,
    exists,
    selectSource,
    selectKeys,
    selectList,
    selectKeysList,
    updateWhere,
    deleteWhere,
    deleteWhereCount,
    updateWhereCount,
    parseMigration,
    parseMigration',
    printMigration,
    showMigration,
    getMigration,
    runMigration,
    runMigrationQuiet,
    runMigrationSilent,
    runMigrationUnsafe,
    runMigrationUnsafeQuiet,
    getFieldName,
    getTableName,
    withRawQuery,
    rawQueryRes,
    rawQuery,
    rawExecute,
    rawExecuteCount,
    rawSql,
    transactionSave,
    transactionSaveWithIsolation,
    transactionUndo,
    transactionUndoWithIsolation,
    unsafeLiftSql
    )
import Database.Persist.Sql hiding (
    get,
    getMany,
    getJust,
    getJustEntity,
    getEntity,
    belongsTo,
    belongsToJust,
    insert,
    insert_,
    insertMany,
    insertMany_,
    insertEntityMany,
    insertKey,
    repsert,
    repsertMany,
    replace,
    delete,
    update,
    updateGet,
    insertEntity,
    insertRecord,
    getBy,
    getByValue,
    checkUnique,
    checkUniqueUpdateable,
    deleteBy,
    insertUnique,
    upsert,
    upsertBy,
    putMany,
    insertBy,
    insertUniqueEntity,
    replaceUnique,
    onlyUnique,
    selectSourceRes,
    selectFirst,
    selectKeysRes,
    count,
    exists,
    selectSource,
    selectKeys,
    selectList,
    selectKeysList,
    updateWhere,
    deleteWhere,
    deleteWhereCount,
    updateWhereCount,
    parseMigration,
    parseMigration',
    printMigration,
    showMigration,
    getMigration,
    runMigration,
    runMigrationQuiet,
    runMigrationSilent,
    runMigrationUnsafe,
    runMigrationUnsafeQuiet,
    getFieldName,
    getTableName,
    withRawQuery,
    rawQueryRes,
    rawQuery,
    rawExecute,
    rawExecuteCount,
    rawSql,
    transactionSave,
    transactionSaveWithIsolation,
    transactionUndo,
    transactionUndoWithIsolation,
    )