|
Size: 545
Comment:
|
Size: 546
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 8: | Line 8: |
| .update:: `update Information set LastName=%s, FirstName=%s, AgeInMonths=%d where Id=?` | .update:: `update Information set LastName=%s, FirstName=%s, AgeInMonths=%d where Id=%d` |
| Line 14: | Line 14: |
| .delete:: `delete from Information where Id=%s` | .delete:: `delete from Information where Id=%d` |
Database Connection
- .type
sqlite
- .file
attachment:CollabTest2.db
Form
- .select
select * from Information order by LastName
.update:: update Information set LastName=%s, FirstName=%s, AgeInMonths=%d where Id=%d
- .update_parameters
.LastName, .FirstName, .AgeInMonths, .Id
- .insert
insert into Information(LastName, FirstName, AgeInMonths) values(%s, %s, %d)
- .insert_parameters
.LastName, .FirstName, .AgeInMonths
- .delete
delete from Information where Id=%d
- .delete_parameters
.Id
