express-cassandra
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -127,2 +127,16 @@ # Data Management | ||
## Truncate | ||
Truncate is a destructive operation. It deletes or clears all data in the table. The truncate function takes the following form: | ||
```js | ||
//TRUNCATE TABLE person; | ||
models.instance.Person.truncate(function(err){ | ||
if(err) console.log(err); | ||
else console.log('Yuppiie!'); | ||
}); | ||
``` | ||
## Hook Functions | ||
@@ -129,0 +143,0 @@ |
{ | ||
"name": "express-cassandra", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "async": "^1.0.0", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
575354
3221