Skip to content

Commit

Permalink
Version 0.5.0
Browse files Browse the repository at this point in the history
Ok, first release OK please
Documentation more done than before
  • Loading branch information
dlid committed Nov 13, 2017
1 parent 1bf25a3 commit 7a8d478
Show file tree
Hide file tree
Showing 24 changed files with 1,069 additions and 1,751 deletions.
23 changes: 5 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# camlsql-js

[![Build Status](https://travis-ci.org/dlid/camlsql-js.svg?branch=master)](https://travis-ci.org/dlid/camlsql-js) [![codecov](https://codecov.io/gh/dlid/camlsql-js/branch/master/graph/badge.svg)](https://codecov.io/gh/dlid/camlsql-js) - [Documentation](https://dlid.github.io/camlsql-js)
[![Build Status](https://travis-ci.org/dlid/camlsql-js.svg?branch=master)](https://travis-ci.org/dlid/camlsql-js) [![codecov](https://codecov.io/gh/dlid/camlsql-js/branch/master/graph/badge.svg)](https://codecov.io/gh/dlid/camlsql-js)

## CSOM library for getting SharePoint List items SQL syntax

Expand All @@ -16,27 +16,14 @@ camlsql.prepare("SELECT * FROM Pages WHERE Title LIKE ? ORDER BY Modified DESC L

### Features

- Lightweight - only 8 KB min+gz
- Lightweight - only 8.3 KB min+gz
- Generate CAML queries using SQL-like syntax
- No other dependencies than the SharePoint CSOM libraries

#### Supported queries

- [Field selection](https://github.com/dlid/camlsql-js/wiki/SQL-Test-Queries-----Field-Selection) as a comma separated list
- [AND/OR](https://github.com/dlid/camlsql-js/wiki/SQL-Test-Queries---AND---OR) syntax with groups
- [ORDER BY](https://github.com/dlid/camlsql-js/wiki/SQL-Test-Queries---ORDER-BY) to sort the result
- [LIMIT](https://github.com/dlid/camlsql-js/wiki/SQL-Test-Queries---LIMIT) to limit the number of rows returned
- [JOIN](https://github.com/dlid/camlsql-js/wiki/SQL-Test-Queries---JOIN) and query lookup lists

#### Supported types

- [Text](https://github.com/dlid/camlsql-js/wiki/camlsql.text-method) using BeginsWith, Contains or Equals
- NULL / IS NOT NULL
- ...


See more examples in the [SQL Test Queries](https://github.com/dlid/camlsql-js/wiki/SQL-Test-Queries) wiki page.
#### Documentation

- Read the [documentation](https://dlid.github.io/camlsql-js) for details
- See example queries that are tested with each build in the [SQL Test Queries](https://github.com/dlid/camlsql-js/wiki/SQL-Test-Queries) wiki page.

## This is not REST

Expand Down
Loading

0 comments on commit 7a8d478

Please sign in to comment.