Skip to content

Commit

Permalink
More polishes
Browse files Browse the repository at this point in the history
  • Loading branch information
benitav committed Feb 8, 2024
1 parent c6639d3 commit 74e966d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export abstract class AbstractPowerSyncDatabase extends BaseObserver<PowerSyncDB
/**
* Open a read-write transaction.
* This takes a global lock - only one write transaction can execute against the database at a time.
* TODO: Statements within the transaction must be done on the provided SqliteWriteContext - attempting statements on the SqliteConnection instance will error.
* Statements within the transaction must be done on the provided {@link Transaction} interface.
*/
async writeTransaction<T>(
callback: (tx: Transaction) => Promise<T>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CrudEntry } from './CrudEntry';

/**
* A batch of client-side changes.
* A batch of client-side changes.
*/
export class CrudBatch {
constructor(
Expand Down

0 comments on commit 74e966d

Please sign in to comment.