dalmdl

package
v1.2.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package dalmdl will help you access

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseDAO

type BaseDAO struct {
	Output gjson.Result
	// contains filtered or unexported fields
}

BaseDAO help to fetch data

type DAOBuilder

type DAOBuilder struct {
	BaseDAO
}

DAOBuilder will help to run gson query

func GetDAO

func GetDAO() *DAOBuilder

GetDAO return new instance

func (*DAOBuilder) FilePath

func (db *DAOBuilder) FilePath(name string) *DAOBuilder

FilePath to open File and get data from FDB

func (*DAOBuilder) IsCacheable

func (db *DAOBuilder) IsCacheable() *DAOBuilder

IsCacheable to open File and get data from FDB

func (*DAOBuilder) IsCacheableWithDuration

func (db *DAOBuilder) IsCacheableWithDuration(duration time.Duration) *DAOBuilder

IsCacheableWithDuration to open File and get data from FDB

func (*DAOBuilder) Query

func (db *DAOBuilder) Query(query ...string) *DAOBuilder

Query give multiple queries for and condition

func (*DAOBuilder) Run

func (db *DAOBuilder) Run() (*gjson.Result, error)

Run : Execute Query

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL