equal
deleted
inserted
replaced
74 * ConstructL. |
74 * ConstructL. |
75 * 2nd phase constructor. |
75 * 2nd phase constructor. |
76 */ |
76 */ |
77 void ConstructL(); |
77 void ConstructL(); |
78 |
78 |
|
79 /** |
|
80 * Delete and re-create database. |
|
81 * @param aDbFileName Database filename and path |
|
82 * @param asqlSecurityPolicy sql policy |
|
83 * @param aKMdsSqlDbaConfig database connection configure |
|
84 */ |
|
85 TInt DeleteAndReCreateDB( const HBufC* aDbFileName, |
|
86 const RSqlSecurityPolicy& asqlSecurityPolicy, |
|
87 const TDesC8* aKMdsSqlDbaConfig ); |
|
88 |
79 public: // Methods from CMdSSqLiteConnection |
89 public: // Methods from CMdSSqLiteConnection |
80 |
90 |
81 /** |
91 /** |
82 * Open database (creates if doesn't exist) |
92 * Open database (creates if doesn't exist) |
83 * @param aFile Database filename and path |
93 * @param aFile Database filename and path |
126 * @param aQuery ID of the query |
136 * @param aQuery ID of the query |
127 * @param aRow specifies target for the data to receive |
137 * @param aRow specifies target for the data to receive |
128 * @return true if there are more rows available |
138 * @return true if there are more rows available |
129 */ |
139 */ |
130 void CurrentRowL( const RMdsStatement& aQuery, RRowData& aRow ); |
140 void CurrentRowL( const RMdsStatement& aQuery, RRowData& aRow ); |
|
141 |
|
142 /** |
|
143 * Returns id of the last inserted row |
|
144 */ |
|
145 TItemId LastInsertedRowId(); |
131 |
146 |
132 /** |
147 /** |
133 * terminates a running query or execution loop |
148 * terminates a running query or execution loop |
134 * @param aStatement ID of the statement |
149 * @param aStatement ID of the statement |
135 */ |
150 */ |