Skip to content

Commit 5b3729f

Browse files
Resolve markdownlint issues
1 parent 5f40358 commit 5b3729f

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

persistence/sql/postgresql-scripts.md

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -11,94 +11,76 @@ versions: '[3,)'
1111

1212
Scripts and SQL statements used when interacting with a [PostgreSQL](https://www.postgresql.org/) database.
1313

14-
1514
## Build Time
1615

1716
Scripts are created at build time and can be executed manually as part of a deployment or decommissioning of an endpoint.
18-
1917

2018
### Outbox
2119

22-
2320
#### Create Table
2421

2522
snippet: PostgreSQL_OutboxCreateSql
2623

27-
2824
#### Drop Table
2925

3026
snippet: PostgreSQL_OutboxDropSql
3127

32-
3328
### Saga
3429

35-
For a Saga with the following structure
30+
For a Saga with the following structure
3631

3732
snippet: CreationScriptSaga
3833

39-
4034
#### Create Table
4135

4236
snippet: PostgreSQL_SagaCreateSql
4337

44-
4538
#### Drop Table
4639

4740
snippet: PostgreSQL_SagaDropSql
4841

49-
5042
### Subscription
5143

52-
5344
#### Create Table
5445

5546
snippet: PostgreSQL_SubscriptionCreateSql
5647

57-
5848
#### Drop Table
5949

6050
snippet: PostgreSQL_SubscriptionDropSql
6151

62-
6352
### Timeout
6453

65-
6654
#### Create Table
6755

6856
snippet: PostgreSQL_TimeoutCreateSql
6957

70-
7158
#### Drop Table
7259

7360
snippet: PostgreSQL_TimeoutDropSql
7461

75-
7662
## Run Time
7763

7864
These are the SQL scripts used at runtime to query and update data.
7965

80-
8166
### Outbox
8267

8368
Used at intervals to cleanup old outbox records.
8469

8570
snippet: PostgreSQL_OutboxCleanupSql
8671

87-
8872
#### Get
8973

9074
Used by `IOutboxStorage.SetAsDispatched`.
9175

9276
snippet: PostgreSQL_OutboxGetSql
9377

94-
9578
#### SetAsDispatched
9679

9780
Used by `IOutboxStorage.SetAsDispatched`.
9881

9982
snippet: PostgreSQL_OutboxSetAsDispatchedSql
10083

101-
10284
#### Store
10385

10486
Used by `IOutboxStorage.Store`.
@@ -107,88 +89,74 @@ partial: outbox
10789

10890
### Saga
10991

110-
11192
#### Complete
11293

11394
Used by `ISagaPersister.Complete`.
11495

11596
snippet: PostgreSQL_SagaCompleteSql
11697

117-
11898
#### Save
11999

120100
Used by `ISagaPersister.Save`.
121101

122102
snippet: PostgreSQL_SagaSaveSql
123103

124-
125104
#### GetByProperty
126105

127106
Used by `ISagaPersister.Get(propertyName...)`.
128107

129108
snippet: PostgreSQL_SagaGetByPropertySql
130109

131-
132110
#### GetBySagaId
133111

134112
Used by `ISagaPersister.Get(sagaId...)`.
135113

136114
snippet: PostgreSQL_SagaGetBySagaIdSql
137115

138-
139116
#### Update
140117

141118
Used by `ISagaPersister.Update`.
142119

143120
snippet: PostgreSQL_SagaUpdateSql
144121

145-
146122
#### Select used by Saga Finder
147123

148124
snippet: postgresql_SagaSelectSql
149125

150-
151126
### Subscriptions
152127

153-
154128
#### GetSubscribers
155129

156130
Used by `ISubscriptionStorage.GetSubscriberAddressesForMessage`.
157131

158132
snippet: PostgreSQL_SubscriptionGetSubscribersSql
159133

160-
161134
#### Subscribe
162135

163136
Used by `ISubscriptionStorage.Subscribe`.
164137

165138
snippet: PostgreSQL_SubscriptionSubscribeSql
166139

167-
168140
#### Unsubscribe
169141

170142
Used by `ISubscriptionStorage.Unsubscribe`.
171143

172144
snippet: PostgreSQL_SubscriptionUnsubscribeSql
173145

174-
175146
### Timeouts
176147

177-
178148
#### Peek
179149

180150
Used by `IPersistTimeouts.Peek`.
181151

182152
snippet: PostgreSQL_TimeoutPeekSql
183153

184-
185154
#### Add
186155

187156
Used by `IPersistTimeouts.Add`.
188157

189158
snippet: PostgreSQL_TimeoutAddSql
190159

191-
192160
#### GetNextChunk
193161

194162
Used by `IQueryTimeouts.GetNextChunk`.
@@ -197,14 +165,12 @@ snippet: PostgreSQL_TimeoutNextSql
197165

198166
snippet: PostgreSQL_TimeoutRangeSql
199167

200-
201168
#### TryRemove
202169

203170
Used by `IPersistTimeouts.TryRemove`.
204171

205172
snippet: PostgreSQL_TimeoutRemoveByIdSql
206173

207-
208174
#### RemoveTimeoutBy
209175

210176
Used by `IPersistTimeouts.RemoveTimeoutBy`.

0 commit comments

Comments
 (0)