package
0.8.2
Repository: https://github.com/ipfs/go-datastore.git
Documentation: pkg.go.dev

# Functions

Less returns true if a comes before b with the requested orderings.
NaiveFilter applies a filter to the results.
NaiveLimit truncates the results to a given int limit.
NaiveOffset skips a given number of results.
NaiveOrder reorders results according to given orders.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ResultsWithContext returns a Results object with the results generated by the passed proc function called in a separate goroutine.
ResultsWithEntries returns a Results object from a list of entries.
Sort sorts the given entries using the given orders.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Entry
Entry is a query result entry.
No description provided by the author
No description provided by the author
FilterValueCompare is used to signal to datastores they should apply internal comparisons.
No description provided by the author
OrderByKey.
OrderByKeyDescending.
OrderByValue is used to signal to datastores they should apply internal orderings.
OrderByValueDescending is used to signal to datastores they should apply internal orderings.
Query represents storage for any key-value pair.
Result is a special entry that includes an error, so that the client may be warned about internal errors.

# Interfaces

Filter is an object that tests ResultEntries.
Order is an object used to order objects.
Results is a set of Query results.

# Type aliases

Op is a comparison operator.
OrderByFunction orders the results based on the result of the given function.