Skip to content

Commit

Permalink
Add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Sep 18, 2024
1 parent 5d51675 commit c269bbf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Class Description
:ref:`aerospike.Query` Handles queries over secondary indexes.
:ref:`aerospike.geojson` Handles GeoJSON type data.
:ref:`aerospike.KeyOrderedDict` Key ordered dictionary
:ref:`aerospike.Transaction` Multi-record transaction
================================= ===========

In addition, the :ref:`Data_Mapping` page explains how **Python** types map to **Aerospike Server** types.
Expand All @@ -79,6 +80,7 @@ Content
query
geojson
key_ordered_dict
transaction
predicates
exception
aerospike_helpers
Expand Down
22 changes: 22 additions & 0 deletions doc/transaction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. _aerospike.Transaction:

.. currentmodule:: aerospike

=================================================================
:class:`aerospike.Transaction` --- Multi Record Transaction Class
=================================================================

Overview
========

TODO

Methods
=======

.. class:: Transaction
:noindex:

.. method:: id()

Get the random transaction id that was generated on class instance creation.

0 comments on commit c269bbf

Please sign in to comment.