Skip to content

Commit aa605d0

Browse files
authored
Update README.md
1 parent df8b783 commit aa605d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ dbHelper.insertDataWithTransaction(String tableName, int dbColumnCount)
385385
**Altering Table**
386386
// this is an example for altering table
387387
// this method will add new columns to the table
388-
dbHelper.addDataForTable(new DbData("age" /*this is the name of the column*/, 26 /*data for that column*/))
388+
dbHelper.addColumnForTable(new DbColumn("age" /*this is the name of the column*/, int /*datatype for that column*/))
389389
.alterTable("TABLE_NAME");
390390

391391
**Inserting records using json array or json object**

0 commit comments

Comments
 (0)