package
0.19.2
Repository: https://github.com/spaceuptech/space-api-go.git
Documentation: pkg.go.dev

# Functions

And is a function to "and" multiple conditions together.
Cond is a function to write a condition.
GenerateFind generates a Mongo db find clause from the provided condition.
No description provided by the author
No description provided by the author
Or is a function to "or" multiple conditions together.

# Constants

No description provided by the author
All is used when all the records needs to be worked on.
Upsert is used to upsert documents.
Count is used to count the number of documents returned.
Create is used to create documents.
Delete is used to delete documents.
Distinct is used to get the distinct values.
One is used when oly a single record needs to be worked on.
PreparedQueries is used execute a particular Prepared Query.
Read is used to Read documents.
RealtimeDelete is for delete operations.
RealtimeInitial is for initial operations.
RealtimeInsert is for create operations.
RealtimeUpdate is for update operations.
TypeRealtimeFeed is the response type for realtime feed.
TypeRealtimeSubscribe is the request type for live query subscription.
TypeRealtimeUnsubscribe is the request type for live query subscription.
Update is used to update documents.
Upsert is used to upsert documents.

# Structs

AggregateRequest is the http body received for an aggregate request.
AllRequest is a union of parameters required in the various requests.
BatchRequest is the http body for a batch request.
CreateRequest is the http body received for a create request.
DeleteRequest is the http body received for a delete request.
DocumentSnapshot contains the data and meta info of a single document.
FunctionsPayload is the struct transmitted via the broker.
LiveQueryOptions is used to set the options for the live query.
No description provided by the author
PreparedQueryRequest is the http body received for a PreparedQuery request.
A struct to hold the new values for EditProfile.
ReadOptions is the options required for a read request.
ReadRequest is the http body received for a read request.
No description provided by the author
RealtimeRequest is the object sent for realtime requests.
Response is the object recieved from the server.
ServiceRequest is the api call request.
No description provided by the author
Storage is a struct to store the Live Query Data (For Internal Use Only).
No description provided by the author
No description provided by the author
No description provided by the author
UpdateRequest is the http body received for an update request.
WebsocketMessage is the body for a websocket request.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
M is a type representing a map.