Skip to content

Commit 75394ee

Browse files
committed
Some README pruning
1 parent ef869e6 commit 75394ee

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ This library aims to extend the features of honeysql to support postgres specifi
1010
This project follows the version scheme MAJOR.MINOR.COMMITS where MAJOR and MINOR provide some relative indication of the size of the change, but do not follow semantic versioning. In general, all changes endeavor to be non-breaking (by moving to new names rather than by breaking existing names). COMMITS is an ever-increasing counter of commits since the beginning of this repository.
1111

1212
### NPM
13-
From version `0.3.104` and onwards, new releases to `npmjs` will not be pushed. The last release available on npmjs is [0.2.6](https://www.npmjs.com/package/@honeysql/honeysql-postgres).
13+
From version `0.3.104` and onwards, new releases to [npmjs](https://www.npmjs.com) will not be pushed.
14+
The last available release on npmjs is [0.2.6](https://www.npmjs.com/package/@honeysql/honeysql-postgres).
1415

1516
### Known breaking change
1617
Implementation of `over` has been changed (from `0.2.2`) to accept alias as an option and define the aggregator-function within the over clause and not in the select clause, this allows the inclusion of multiple window-functions which was not possible in the previous implementation.
@@ -232,56 +233,56 @@ The `ilike` and `not-ilike` operators can be used to query data using a pattern
232233
### SQL functions
233234

234235
The following are the SQL functions added in `honeysql-postgres`
235-
- not
236+
- `not`
236237
```clojure
237238
(sql/format (sql/call :not nil))
238239
=> ["NOT NULL"]
239240
```
240-
- primary-key
241+
- `primary-key`
241242
```clojure
242243
(sql/format (sql/call :primary-key))
243244
=> ["PRIMARY KEY"]
244245

245246
(sql/format (sql/call :primary-key :arg1 :arg2))
246247
=> ["PRIMARY KEY(arg1, arg2)"]
247248
```
248-
- unique
249+
- `unique`
249250
```clojure
250251
(sql/format (sql/call :unique))
251252
=> ["UNIQUE"]
252253

253254
(sql/format (sql/call :unique :arg1 :arg2))
254255
=> ["UNIQUE(arg1, arg2)"]
255256
```
256-
- foreign-key
257+
- `foreign-key`
257258
```clojure
258259
(sql/format (sql/call :foreign-key))
259260
=> ["FOREIGN KEY"]
260261

261262
(sql/format (sql/call :foreign-key :arg1 :arg2))
262263
=> ["FOREIGN KEY(arg1, arg2)"]
263264
```
264-
- references
265+
- `references`
265266
```clojure
266267
(sql/format (sql/call :references :reftable :refcolumn))
267268
=> ["REFERENCES reftable(refcolumn)"]
268269
```
269-
- constraint
270+
- `constraint`
270271
```clojure
271272
(sql/format (sql/call :constraint :name))
272273
=> ["CONSTRAINT name"]
273274
```
274-
- default
275+
- `default`
275276
```clojure
276277
(sql/format (sql/call :default :value))
277278
=> ["DEFAULT value"]
278279
```
279-
- nextval
280+
- `nextval`
280281
```clojure
281282
(sql/format (sql/call :nextval :value))
282283
=> ["nextval('value')"]
283284
```
284-
- check
285+
- `check`
285286
```clojure
286287
(sql/format (sql/call :check [:= :a :b]))
287288
=> ["CHECK(a = b)"]

0 commit comments

Comments
 (0)