dalgo2firestore

package module
v0.6.52 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 16 Imported by: 2

README

strongo/dalgo-firestore

Bridge to Firebase Firestore API for github.com/dal-go/dalgo interface.

End-to-end tests

All dalgo drivers have to pass dalgo's end-to-end tests.

Setup of end-to-end tests for Firestore driver has few specifics.

Documentation

Index

Constants

View Source
const Version = "0.0.1"

Version indicates package version

Variables

View Source
var Debugf func(ctx context.Context, format string, args ...interface{}) = nil

Functions

func GetFirestoreCollectionRef added in v0.6.28

func GetFirestoreCollectionRef(colRef *dal.CollectionRef, client *firestore.Client) (fsCollectionRef *firestore.CollectionRef)

func NewDatabase

func NewDatabase(id string, client *firestore.Client) (db dal.DB)

NewDatabase creates new instance of dalgo interface to Firestore

func PathFromKey

func PathFromKey(key *dal.Key) string

PathFromKey generates a full path of a key

Types

This section is empty.

Jump to

Keyboard shortcuts

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