A NodeJS library for a fast and easy way of accessing Windows Azure Table Storage.
A NodeJS library for a fast, easy way of access Windows Azure Table Storage. This library is inspired by MongooseJS.
npm install dre
var Client = require"../lib/Client";var dre ="AZURE_STORAGE_ACCOUNT": "example_account""AZURE_STORAGE_ACCESS_KEY": "example_key";var Person = dremodel"People" dreSchemaFirstName: "string"LastName: "string"FavoriteAnimal: "string";
var person = ;personsavePartitionKey: "dcb83fa0-15c4-463f-99b7-2ce365878b20"RowKey: "58f92ada-2aa9-48f8-9429-4580e0f91b81"FirstName: "Jaime"LastName: "Bueza"console.log"Saved you! " entity;;
personfindOnePartitionKey: "dcb83fa0-15c4-463f-99b7-2ce365878b20"RowKey: "58f92ada-2aa9-48f8-9429-4580e0f91b81"console.log"Found you! " entity;;
(The MIT License)
Copyright (c) 2012 Jaime Bueza <email@example.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.