FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date.

For more details, review the migration guide. Contact support@fauna.com with any questions.

Imports

Each Fauna driver requires an import stanza. For more detailed platform installation instructions, consult the README for your particular driver.

using FaunaDB.Client;
using FaunaDB.Types;

using static FaunaDB.Query.Language;
import (
  "fmt"
  f "github.com/fauna/faunadb-go/v4/faunadb"
)
import com.faunadb.client.FaunaClient;
import static com.faunadb.client.query.Language.*;
var faunadb = require('faunadb')
var q = faunadb.query
from faunadb import query as q
from faunadb.objects import Ref
from faunadb.client import FaunaClient
Not available for the Shell language, since the Web Shell
in the Dashboard, or in fauna-shell, takes care of imports
for you.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!