chainlink: Index | Files

package dbutil

import ""


Package Files


func IsPostgres Uses

func IsPostgres(db *gorm.DB) bool

IsPostgres returns true if the underlying database is postgres.

func IsPostgresURL Uses

func IsPostgresURL(url string) bool

func SetTimezone Uses

func SetTimezone(db *gorm.DB) error

SetTimezone sets the time zone to UTC

Package dbutil imports 2 packages (graph) and is imported by 10 packages. Updated 2020-03-30. Refresh now. Tools for package owners.