Skip to content

This extension for Visual Studio Code adds snippets for Drizzle ORM. Now you can create your Drizzle ORM files faster and easier.

License

Notifications You must be signed in to change notification settings

ManuelGil/vscode-drizzle-snippets

Repository files navigation

Drizzle ORM Snippets for VSCode Editor

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Downloads Visual Studio Marketplace Rating GitHub Repo stars GitHub license

This extension for Visual Studio Code adds snippets for Drizzle ORM. Now you can create your Drizzle ORM files faster and easier.

Requirements

  • VSCode 1.46.0 or later

Usage

Snippets

Type part of snippet, press Tab or Enter, and the snippet unfolds. Below is a list of the most important shortcuts.

Snippet Purpose
dz_id_serial id serial
dz_id_bigint id bigint
dz_binary binary
dz_bigserial bigserial
dz_boolean boolean
dz_blob blob
dz_char char
dz_cidr cidr
dz_date date
dz_datetime datetime
dz_decimal decimal
dz_double double
dz_doublePrecision doublePrecision
dz_pgEnum pgEnum
dz_float float
dz_inet inet
dz_int int
dz_integer integer
dz_interval interval
dz_json json
dz_jsonb jsonb
dz_macaddr macaddr
dz_macaddr8 macaddr8
dz_mediumint mediumint
dz_numeric numeric
dz_real real
dz_serial serial
dz_smallint smallint
dz_smallserial smallserial
dz_text text
dz_tinytext tinytext
dz_mediumtext mediumtext
dz_longtext longtext
dz_time time
dz_timestamp timestamp
dz_tinyint tinyint
dz_uuid uuid
dz_varbinary varbinary
dz_varchar varchar
dz_year year
dz_references int references
dz_select select
dz_select_distinct selectDistinct
dz_select_distinct_on selectDistinctOn
dz_limit limit
dz_order_by orderBy
dz_group_by groupBy
dz__with $with
dz_with with
dz_update update
dz_insert insert
dz_on_conflict_do_nothing onConflictDoNothing
dz_on_conflict_do_update onConflictDoUpdate
dz_on_duplicate_key_update onDuplicateKeyUpdate
dz_delete delete
dz_left_join leftJoin
dz_right_join rightJoin
dz_inner_join innerJoin
dz_full_join fullJoin
dz_eq eq
dz_ne ne
dz_gt gt
dz_gte gte
dz_lt lt
dz_lte lte
dz_is_null isNull
dz_is_not_null isNotNull
dz_in_array inArray
dz_not_in_array notInArray
dz_exists exists
dz_not_exists notExists
dz_between between
dz_not_between notBetween
dz_like like
dz_ilike ilike
dz_not_ilike notIlike
dz_not not
dz_and and
dz_or or
dz_array_contains arrayContains
dz_array_contained arrayContained
dz_array_overlaps arrayOverlaps

Connect with me

GitHub followers X (formerly Twitter) Follow

Other Extensions

Changelog

See CHANGELOG.md

Authors

See also the list of contributors who participated in this project.

License

Drizzle ORM Snippets for VSCode is licensed under the MIT License - see the MIT License for details.