Skip to content
Graffle is a work in progress. Learn more.

Default

This example shows the default output behavior.

ts
import { 
Graffle
as
Atlas
} from './graffle/__.js'
const
atlas
=
Atlas
.
create
()
const
continents
= await
atlas
.
query
.
continents
({
name
: true })
console
.
log
(
continents
)

Outputs

txt
[
  { name: 'Africa' },
  { name: 'Antarctica' },
  { name: 'Asia' },
  { name: 'Europe' },
  { name: 'North America' },
  { name: 'Oceania' },
  { name: 'South America' }
]

Released under the MIT License.