Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • A aurweb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 85
    • Issues 85
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • aurweb
  • Repository
  • aurweb
  • web
  • lib
  • pkgfuncs.inc.php
Find file BlameHistoryPermalink
  • canyonknight's avatar
    Add database wrapper class and new connection method · 8e03e68d
    canyonknight authored Feb 03, 2013
    
    
    Uses the Singleton pattern to ensure all queries use the same
    database connection that is released upon script completion.
    
    All database connections should now be called with DB::connect() and
    not db_connect().
    
    Signed-off-by: default avatarcanyonknight <canyonknight@gmail.com>
    Signed-off-by: default avatarLukas Fleischer <archlinux@cryptocrack.de>
    8e03e68d