Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.92 KB

File metadata and controls

50 lines (32 loc) · 1.92 KB

NosDB Basic Document Operations (API)

Table of contents

Introduction

This sample program demonstrates how to use the NosDB API for performing CRUD operations. It shows how to initialize the database instance and Insert, Get, Update and Delete a document from NosDB.

This sample uses domainobject sample as a reference for model class "Product".

For Windows: %NOS_HOME% refers to the installation path where NosDB is installed.

Note: If you are unfamiliar with Git and GitHub, you can download the entire collection as a ZIP file.

Prerequisites

Before the sample application is executed make sure that:

  • Northwind sample data has been imported as explained in [BaseDir]\data\json\README.md.
  • Modify the connection string in "src/sample.properties" file according to configurations. e.g., change database name or config server port or security credentials.
  • NosDB Distributor Service is running
  • Build and run the sample.

Additional Resources

Documentation

The complete online documentation for NosDB is available at: http://www.alachisoft.com/resources/docs/#nosdb

Programmers' Guide

The complete programmers guide of NosDB is available at: http://www.alachisoft.com/resources/docs/nosdb/nosdb-programmers-guide.pdf

Technical Support

Alachisoft © provides various sources of technical support.

Copyrights

© Copyright 2017 Alachisoft.