Astro DB Snippets for VSCode Editor
This extension for Visual Studio Code adds snippets for Astro DB. Now you can create your Astro DB files faster and easier.
Requirements
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 |
db_primary_key |
primary key |
db_text |
text |
db_number |
number |
db_boolean |
boolean |
db_date |
date |
db_json |
json |
db_references |
int references |
db_select |
select |
db_select_distinct |
selectDistinct |
db_select_distinct_on |
selectDistinctOn |
db_limit |
limit |
db_order_by |
orderBy |
db_group_by |
groupBy |
db__with |
$with |
db_with |
with |
db_update |
update |
db_insert |
insert |
db_on_conflict_do_nothing |
onConflictDoNothing |
db_on_conflict_do_update |
onConflictDoUpdate |
db_on_duplicate_key_update |
onDuplicateKeyUpdate |
db_delete |
delete |
db_left_join |
leftJoin |
db_right_join |
rightJoin |
db_inner_join |
innerJoin |
db_full_join |
fullJoin |
db_eq |
eq |
db_ne |
ne |
db_gt |
gt |
db_gte |
gte |
db_lt |
lt |
db_lte |
lte |
db_is_null |
isNull |
db_is_not_null |
isNotNull |
db_in_array |
inArray |
db_not_in_array |
notInArray |
db_exists |
exists |
db_not_exists |
notExists |
db_between |
between |
db_not_between |
notBetween |
db_like |
like |
db_ilike |
ilike |
db_not_ilike |
notIlike |
db_not |
not |
db_and |
and |
db_or |
or |
db_array_contains |
arrayContains |
db_array_contained |
arrayContained |
db_array_overlaps |
arrayOverlaps |
Connect with me
Other Extensions
Changelog
See CHANGELOG.md
Authors
See also the list of contributors who participated in this project.
License
Astro DB Snippets for VSCode is licensed under the MIT License - see the MIT License for details.
| |